Syndai Docs

Project setup plan

Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.

GET
/api/v1/coding/customers/{customer_id}/repos/{repository_id}/setup-plan

The project's environment variable names and agent asks, each allowed, bound, waiting or not needed. Names only, never a value.

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

customer_id*string
Formatuuid
repository_id*string
Formatuuid

Query Parameters

environment_id?|null

Response Body

Request fulfilled, document follows

application/json
  1. response
detected_sha?string|null
detected_tools*array<string>
env*array<>
run_environment_id*string
Formatuuid
Example Request
curl -X GET 'https://api.syndai.ai/api/v1/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/repos/497f6eca-6276-4993-bfeb-53cbbbba6f08/setup-plan'
Example Response
{  "detected_sha": "string",  "detected_tools": [    "string"  ],  "env": [    {      "allowed": true,      "bound": true,      "name": "string",      "not_needed": true,      "source": "string",      "waiting": true    }  ],  "run_environment_id": "c62389a9-b594-49d4-a4ee-4682477f52c8"}
Was this page helpful?