v8

OpenAPI 3.1.02026-08-03150119167.4 KB
User API

Patch Agent Builder Run Id

Link an agent to the builder run that created it.

This does NOT bump updated_at (see async_set_agent_builder_run_id). A non-null value is only written when the column is currently empty; passing null clears it.

patch/me/chats/{chat_id}/agent-builder-run-id

Path parameters

chat_idstring required

Request body

agent_builder_run_idstring uuid nullable

Response

Successfully updated agent builder run id

idstring uuid required
promptstring nullable
varsobject nullable
original_chat_idstring uuid nullable
titlestring nullable
historyobject[] nullable
publicboolean nullable
system_promptstring nullable
modelstring nullable
mcp_serversstring[] nullable
toolsstring[] nullable

List of tool slugs available to the agent

slugstring nullable
price_in_centsinteger nullable
trial_period_in_daysinteger nullable
agent_builder_run_idstring uuid nullable
count_runsinteger nullable
user_idstring required
created_atstring date-time nullable
updated_atstring date-time nullable
last_ran_atstring date-time nullable
user_feedback'approved' | 'rejected' | 'pending'