List services

GET {{baseUrl}}/services?name=<string>,<string>&type=background_worker,cron_job&env=go,ruby&region=frankfurt,oregon&suspended=suspended,suspended&createdBefore=<dateTime>&createdAfter=<dateTime>&updatedBefore=<dateTime>&updatedAfter=<dateTime>&ownerId=<string>,<string>&cursor=<string>&limit=20

Request Params

KeyDatatypeRequiredDescription
namestringFilter for the names of services
typestringFilter for types of services
envstringFilter for environments (runtimes) of services
regionstringFilter for regions of services
suspendedstringFilter services based on whether they're suspended or not suspended
createdBeforestringFilter for services created before a certain time (specified as an ISO 8601 timestamp)
createdAfterstringFilter for services created after a certain time (specified as an ISO 8601 timestamp)
updatedBeforestringFilter for services updated before a certain time (specified as an ISO 8601 timestamp)
updatedAfterstringFilter for services updated after a certain time (specified as an ISO 8601 timestamp)
ownerIdstringThe ID of the owner (team or personal user) whose resources should be returned
cursorstringCursor to begin retrieving entries for this query
limitnumberMax number of items that can be returned

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

[{&quot;service&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;autoDeploy&quot;:&quot;yes&quot;,&quot;branch&quot;:&quot;\u003cstring\u003e&quot;,&quot;buildFilter&quot;:{&quot;paths&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;],&quot;ignoredPaths&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;]},&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;image&quot;:{&quot;imagePath&quot;:&quot;\u003cstring\u003e&quot;,&quot;ownerId&quot;:&quot;\u003cstring\u003e&quot;,&quot;registryCredentialId&quot;:&quot;\u003cstring\u003e&quot;},&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;notifyOnFail&quot;:&quot;notify&quot;,&quot;ownerId&quot;:&quot;\u003cstring\u003e&quot;,&quot;repo&quot;:&quot;\u003cstring\u003e&quot;,&quot;rootDir&quot;:&quot;\u003cstring\u003e&quot;,&quot;slug&quot;:&quot;\u003cstring\u003e&quot;,&quot;suspended&quot;:&quot;not_suspended&quot;,&quot;suspenders&quot;:[&quot;admin&quot;,&quot;unknown&quot;],&quot;type&quot;:&quot;web_service&quot;,&quot;updatedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;serviceDetails&quot;:{&quot;buildCommand&quot;:&quot;\u003cstring\u003e&quot;,&quot;parentServer&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;},&quot;publishPath&quot;:&quot;\u003cstring\u003e&quot;,&quot;pullRequestPreviewsEnabled&quot;:&quot;yes&quot;,&quot;url&quot;:&quot;\u003cstring\u003e&quot;}},&quot;cursor&quot;:&quot;\u003cstring\u003e&quot;},{&quot;service&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;autoDeploy&quot;:&quot;yes&quot;,&quot;branch&quot;:&quot;\u003cstring\u003e&quot;,&quot;buildFilter&quot;:{&quot;paths&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;],&quot;ignoredPaths&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;]},&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;image&quot;:{&quot;imagePath&quot;:&quot;\u003cstring\u003e&quot;,&quot;ownerId&quot;:&quot;\u003cstring\u003e&quot;,&quot;registryCredentialId&quot;:&quot;\u003cstring\u003e&quot;},&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;notifyOnFail&quot;:&quot;default&quot;,&quot;ownerId&quot;:&quot;\u003cstring\u003e&quot;,&quot;repo&quot;:&quot;\u003cstring\u003e&quot;,&quot;rootDir&quot;:&quot;\u003cstring\u003e&quot;,&quot;slug&quot;:&quot;\u003cstring\u003e&quot;,&quot;suspended&quot;:&quot;not_suspended&quot;,&quot;suspenders&quot;:[&quot;admin&quot;,&quot;parent_service&quot;],&quot;type&quot;:&quot;web_service&quot;,&quot;updatedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;serviceDetails&quot;:{&quot;buildCommand&quot;:&quot;\u003cstring\u003e&quot;,&quot;parentServer&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;},&quot;publishPath&quot;:&quot;\u003cstring\u003e&quot;,&quot;pullRequestPreviewsEnabled&quot;:&quot;yes&quot;,&quot;url&quot;:&quot;\u003cstring\u003e&quot;}},&quot;cursor&quot;:&quot;\u003cstring\u003e&quot;}]