For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
User GuideDeveloper GuidesAPI Reference
User GuideDeveloper GuidesAPI Reference
    • Overview
  • Runtype API
      • POSTCreate product
      • PUTUpdate product
      • POSTAdd capability to product
      • PUTUpdate capability
      • POSTCreate surface
      • PUTUpdate surface
      • POSTAdd item to surface
      • PUTUpdate surface item
      • POSTCreate surface API key
      • POSTCreate schedule for surface
      • PUTUpdate schedule
Dashboard
LogoLogo
Runtype APIProducts

Update capability

PUT
/v1/products/:id/capabilities/:capabilityId
PUT
/v1/products/:id/capabilities/:capabilityId
$curl -X PUT https://api.runtype.com/v1/products/id/capabilities/capabilityId \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: application/json" \
> -d '{}'
1{
2 "id": "c3f1a9b2-7d4e-4f3a-9a2e-1b2c3d4e5f6a",
3 "productId": "prod_987654321",
4 "flowId": "flow_123456789",
5 "agentId": "agent_456789123",
6 "capabilityName": "Image Recognition",
7 "capabilityDescription": "Analyzes images to identify objects and scenes.",
8 "enabled": true,
9 "displayOrder": 2,
10 "createdAt": "2024-05-20T10:15:30Z",
11 "parametersSchema": null
12}
Update an existing product capability. Supports partial updates and schema refresh.
Was this page helpful?
Previous

Create surface

Next
Built with

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired
capabilityIdstringRequired

Request

This endpoint expects an object.
capabilityNamestringOptional1-100 characters
capabilityDescriptionstringOptional
parametersSchemaany or nullOptional
enabledbooleanOptional
refreshSchemabooleanOptional

Response

Capability updated
idstring
productIdstring
flowIdstring or null
agentIdstring or null
capabilityNamestring
capabilityDescriptionstring or null
enabledboolean
displayOrderinteger or null
createdAtstring
parametersSchemaany or null

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error