User API

Patch Agent Builder Run Id

Changed on

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

Request

  • Base URL
    https://api.toolhouse.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.toolhouse.ai/me/chats/{chat_id}/agent-builder-run-id
  • Auth
    HTTP bearer

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
kpisstring[]
kpi_valuesobject
is_defaultboolean
user_idstring required
created_atstring date-time nullable
updated_atstring date-time nullable
last_ran_atstring date-time nullable
user_feedback'approved' | 'rejected' | 'pending'

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status