---
id: service-specification-list
title: "List service specifications"
description: "List service specifications"
sidebar_label: "List service specifications"
hide_title: true
hide_table_of_contents: true
api: eJztWVFv2zgS/isEscC1PdlJil3gzsBh4W3cXrbZJIiTdnGpz6WlscWtRKokldRn+L8fhqQkypbtTa6799K+NKaGw+HMN98MyRWVBShmuBRnCR1QDeqexzDVBcR8zmP7ZZBxbWhEDVtoOrijYydEJxFNQMeKFyhFB/Sca0O8CtJSoWlEC6ZYDgYUKllRHaeQMzpYUSaWl3M7ZrjJgA7oWYLLLQv8WxvFxYJGdC5Vzgwd0LLk+L299q3gn0sgPAFh+JyDInOpiEmB4IBZEgWFAg3CQEKYJozc3p6d0nW02lqoYMaAQqX/fvbj4O6493fWmw97ryerv6174c/vH/Pz5OU6+vBBv3j+4itq/I6uJ+uIcjT2cwlqSSMqWI7bsT5S8LnkChI6mLNMA+628Xvl7Yvriw53B16QasEE/4+N5D/QgheTvz4bsDiWpTDVwPMfnw1waV2wGMJBVhSZh0E4rGNZBHLfbUX0osyyImMG406uQctSxUAuWA7k2cX1xfMmolwsCCMpB8VUnPKYZZs4EKEu5XVpusN1QomDvtvwVs7FOYiFSengZIfWjOfcbOvdTqKcG22RK8p8BorIOZpcZkYTBaZUAhJSgCIFWwD9n82S87mG32HX2OUzONPcLOvbgi24YDYIJlWyXKSVuQeMA1HmyCcJFCASEDFaZWFBd4Haqjho6s2yQAutoZ101CfjVJZZQmZApGhk/RYTcs+yEjThwjNImXuWpOtJRDXEpeJmaTlrBkyBGpbo47sJflagCyk0aNz0y19/xf/aBl7OfoPYtAFcuVEK0jCldXAshVEyy5yHa1gwkRCpkhZAaERRGoSxxNpk3tFvGlfuSn9P5+PQQeee8V3EpDUXOUFhuTDcbc1avAgiu0POAb8R48LAApSDJ88RBCdPygLMXw/fvdqPH4tlSBoIr0O43dVZ7Ned2M9OtLGBKcUQtdxArg87iCdhPP7M4ufzaj9xRFRI62GfsEimuO8NukZi9onkVu2TX0ptMMcYEVL0IC/MkrglLHqFNA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1heZLac+duZfNnzK/X0hnB40rmjrVPCSX08OMFzdfenlzavWqUJxD1XUuT+sqNJdxvZmkfvkF+TMvaGaONuLTa4PeTnZuZTeBSprSfnPVb7oGeX2XCJo6I22XhOaR8zdh8a2nUjX04dR00r1HXUwQjFXNfTJeb7oaAHO97s2zuWmYQVeW3/tef4i6LmpmSLI/+4CzFnzfddt3CvbTWyGlsLg1JSaZKU9qJieHVG8E5JVfz6hCu2EWo8fDw0zJT6lUygOySh7f+8ubkibgKJZYIkllg7vEvsHmxb31ZXl7HOCyQ7y+lzXpmDAmRGdK3v6H1uom63yEHl41QqE5G0zJnoKWAJAt6vZWkd16yOCwhR0Bqvtg8qPgXDeAaJ1+Xn+aOnPb7V9GYxA19MB2E+GQat42wTu8ovzUYmDoQ/fAPhNxD+f0FoN2ZSiW+9C/vqUzA8FtOjzpdfrJeg7qsn21JldEBTYwo9ODpiBe+H/VA/lnnrecTePjlUhY8ktUNRkW2bUQzbNStEI//H6+qw8PP7G+sxLua2I0d7nNdO+sf9Y9p0Kq17wOHVGQaykNrkTARtyv5n6lZcVk2aHZjm94ThPSoyxi02rcNW3sd33a/rWAxTqQ0KrFYzpuFWZes1DrvHL/R8wjXitXnw+gTL6o3Xll46oPbOYoege9HcL7ln4496kdzhC2dI9XzyRFOe8gi515769fOJBv2RlzF7DfcvoY3ZE/yhONptHyIjmgKzHe3dys8Zxnh8CmZtFQ7UUhPEm9ENdqPtpN1I0vAawnWvle7VykncyE8g1mtaG46/8TS/Xv8XLkgMXg==
sidebar_class_name: "get api-method"
info_path: docs/api/nullplatform-api
custom_edit_url: null
---

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"List service specifications"}
>
</Heading>

<MethodEndpoint
  method={"get"}
  path={"/service_specification"}
  context={"endpoint"}
>
  
</MethodEndpoint>



List service specifications

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
  children={"Request"}
>
</Heading>

<ParamsDetails
  parameters={[{"schema":{"anyOf":[{"title":"Id","type":"string","format":"uuid","description":"Unique identifier for the entity represented as a UUID"},{"type":"string","pattern":"^(?:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12},\\s*)*[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}]},"in":"query","name":"id","required":false},{"schema":{"title":"NRN","type":"string","pattern":"^organization=[0-9*]+(:account=[0-9*]+)?(:namespace=[0-9*]+)?(:application=[0-9*]+)?(:scope=[0-9*]+)?$","description":"Nullplatform Resource Name (NRN) representing a hierarchical identifier for nullplatform resources"},"in":"query","name":"nrn","required":false},{"schema":{"type":"string","minLength":1},"in":"query","name":"limit","required":false,"description":"Limits the number of results returned per page"},{"schema":{"type":"string","minLength":1},"in":"query","name":"offset","required":false,"description":"Specifies the offset for paginating through results"},{"schema":{"type":"string","enum":["dependency","scope"]},"in":"query","name":"type","required":false,"description":"Type of the service specification. Should be one of the specified values in the enumeration"}]}
>
  
</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={undefined}
>
  
</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"2XX":{"description":"Object representing pagination parameters for controlling the number and order of results","content":{"application/json":{"schema":{"title":"ServiceSpecificationList","type":"object","properties":{"paging":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"description":"Limits the number of results returned"},"offset":{"type":"integer","minimum":0,"description":"Specifies the offset for paginated results"}},"required":["limit","offset"]},"results":{"type":"array","items":{"type":"object","properties":{"id":{"title":"Id","type":"string","format":"uuid","description":"Unique identifier for the entity represented as a UUID"},"name":{"type":"string","minLength":1,"not":{"enum":[null]},"description":"Name of the entity. Must be a non-empty string and not equal to null"},"slug":{"type":"string","minLength":1,"not":{"enum":[null]},"description":"Slug of the specification. Automatically generated from \"name\""},"created_at":{"type":"string","format":"date"},"updated_at":{"type":"string","format":"date"},"visible_to":{"title":"Visibility","type":"array","description":"Array representing visibility settings for the entity. Specifies what/who can see this entity","items":{"title":"NRN","type":"string","pattern":"^organization=[0-9*]+(:account=[0-9*]+)?(:namespace=[0-9*]+)?(:application=[0-9*]+)?(:scope=[0-9*]+)?$","description":"Nullplatform Resource Name (NRN) representing a hierarchical identifier for nullplatform resources"}},"attributes":{"title":"Attribute","type":"object","properties":{"schema":{"type":"object","default":{},"description":"Specification of the attribute schema. Must be a valid JSON Schema"},"values":{"type":"object","default":{},"description":"Values associated with the attribute. Must validate against provided schema"}},"required":["schema","values"],"propertyNames":{"enum":["schema","values"],"description":"Allowed property names"},"additionalProperties":false,"description":"Object representing an attribute with a schema and associated values"},"selectors":{"title":"Selector","type":"object","properties":{"imported":{"type":"boolean","default":false},"provider":{"type":"string","minLength":1,"maxLength":100,"default":"any"},"category":{"type":"string","minLength":1,"maxLength":100,"default":"any"},"sub_category":{"type":"string","minLength":1,"maxLength":100,"default":"any"}},"additionalProperties":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"number"},{"type":"boolean"},{"type":"null"}]},"description":"Key-value object representing instance selectors"},"type":{"type":"string","enum":["dependency","scope"],"description":"Type of the service specification. Should be one of the specified values in the enumeration"},"dimensions":{"title":"Specification Dimension","type":"object","properties":{},"additionalProperties":{"type":"object","properties":{"required":{"type":"boolean"},"values":{"type":"array","items":{"type":"string"}}},"additionalProperties":false,"required":["required"]}},"scopes":{"title":"Specification Scope","type":"object","properties":{"provider":{"type":"object","properties":{"values":{"type":"array","items":{"oneOf":[{"type":"string","enum":["AWS:SERVERLESS:LAMBDA","AWS:WEB_POOL:EC2INSTANCES","AWS:WEB_POOL:EKS","AZURE:WEB_POOL:AKS","GOOGLE:WEB_POOL:GKE","OCI:WEB_POOL:OKE"]},{"type":"string","format":"uuid","description":"UUID of a scope specification"}]},"minItems":1}},"additionalProperties":false,"required":["values"]}},"additionalProperties":false},"assignable_to":{"type":"string","enum":["any","dimension","scope"],"description":"Specifies if the service can be assigned to any entity, only dimensions, or only scopes."},"use_default_actions":{"type":"boolean","description":"Specifies if the service specification should autogenerate its create, update, and delete actions from the attributes schema. When omitted on create, the default is true for every type except `scope`"},"use_default_naming":{"type":"boolean","description":"When true, the instance name is optional and generated by nullplatform or taken from the schema's `name` property. When false, a caller-provided name is required. Defaults to true for new specifications"}},"description":"Object representing service specifications","additionalProperties":false,"title":"ServiceSpecification","example":{"name":"my-service-specification","visible_to":["organization=1:account=1","organization=1:account=2"],"dimensions":{"environment":{"required":true,"values":["production","staging"]}},"scopes":{"provider":{"values":["AWS:SERVERLESS:LAMBDA","AWS:WEB_POOL:EC2INSTANCES","uuid-of-a-specific-scope-specification"]}},"assignable_to":"any","attributes":{"schema":{"type":"object","properties":{"my_string_property":{"type":"string"},"my_number_property":{"type":"number","default":0}},"required":["my_string_property"]},"values":{}}}}}},"required":["paging","results"],"description":"Object representing pagination parameters for controlling the number and order of results"}}}},"4XX":{"description":"Format for representing errors during API interactions","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code indicating the error"},"code":{"type":"string","description":"Unique error code for reference and categorization"},"error":{"type":"string","description":"Short, human-readable error type or category"},"message":{"type":"string","description":"Detailed error message providing additional context"}},"description":"Format for representing errors during API interactions","required":["statusCode","error","message"]}}}},"5XX":{"description":"Format for representing errors during API interactions","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code indicating the error"},"code":{"type":"string","description":"Unique error code for reference and categorization"},"error":{"type":"string","description":"Short, human-readable error type or category"},"message":{"type":"string","description":"Detailed error message providing additional context"}},"description":"Format for representing errors during API interactions","required":["statusCode","error","message"]}}}}}}
>
  
</StatusCodes>


      