POST
/
capsules
Create a new capsule
curl --request POST \
  --url https://management.sid.ai/api/v1/capsules \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>"
}'
{
  "id": "<string>",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <API_KEY>. API keys can be generated in the dashboard.

Body

application/json
name
string
required

Name of the capsule. Doesn't have to be unique.

Response

Successful response

id
string
required

The unique ID of the capsule. Use this ID to make requests to the API. It should look something like irrotational-airfoil.

message
string
required

A nice message from the server.