Cloady Docs
API ReferenceEndpointsWorkspaces

List a provider's importable services

Lists the projects and services the provider token can see, each marked importable or not, with the reason. The token is used for this call only and never stored. Import one with importProviderService.

POST
/api/workspaces/{workspaceSlug}/import/{provider}/services
AuthorizationBearer <token>

Personal API token (cldy_…)

In: header

Path Parameters

workspaceSlug*string
provider*string

Value in

  • "railway"
  • "render"
  • "vercel"

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/workspaces/string/import/railway/services" \  -H "Content-Type: application/json" \  -d '{    "credentials": {      "token": "string"    }  }'
{  "units": [    {      "id": "string",      "name": "string",      "group": "string",      "summary": "string",      "importable": true,      "reason": "string"    }  ]}