Skip to main content
POST
/
user
/
projects
/
{project_id}
/
instructions
Upsert Project Instructions
curl --request POST \
  --url https://cloud.onyx.app/api/user/projects/{project_id}/instructions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "instructions": "<string>"
}
'
{
  "instructions": "<string>"
}

Authorizations

Authorization
string
header
required

Authorization header with Bearer token

Path Parameters

project_id
integer
required

Body

application/json
instructions
string
required

Response

Successful Response

instructions
string | null
required