Skip to main content
POST
/
api
/
v1
/
runtimes
/
validate
Validate Runtime Config
curl --request POST \
  --url https://control-plane.kubiya.ai/api/v1/runtimes/validate \
  --header 'Content-Type: application/json' \
  --data '{
  "runtime_type": "<string>",
  "model_id": "<string>",
  "agent_config": {},
  "system_prompt": "<string>"
}'
{
  "valid": true,
  "errors": [
    "<string>"
  ]
}

Body

application/json

Request to validate agent configuration for a runtime

runtime_type
string
required

Runtime type to validate for

model_id
string | null

Model ID to validate

agent_config
object | null

Agent configuration

system_prompt
string | null

System prompt

Response

Successful Response

Response from validation

valid
boolean
required

Whether configuration is valid

errors
string[]

Validation errors if any