tracer

Create agent definition + scenario and start generation workflow. Moves replay session to GENERATING state.

URL params: pk: replay session uuid

Request body: agent_name: string (required) agent_description: string (optional) scenario_name: string (required) agent_type: "text" or "voice" (default: "text") no_of_rows: int (default: 20) personas: list of uuids (optional) custom_columns: list of dicts (optional) graph: dict (optional) generate_graph: bool (default: true)

post/tracer/replay-session/{id}/generate-scenario/

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/tracer/replay-session/{id}/generate-scenario/
  • Auth: one of:
    • API key in header X-Api-Key
    • API key in header X-Secret-Key

Request body

agent_namestring required
agent_descriptionstring
scenario_namestring required
agent_type'text' | 'voice'
no_of_rowsinteger
personasstring[]
custom_columnsobject[]
graphobject nullable
generate_graphboolean

Response

Created

agent_namestring required
agent_descriptionstring
scenario_namestring required
agent_type'text' | 'voice'
no_of_rowsinteger
personasstring[]
custom_columnsobject[]
graphobject nullable
generate_graphboolean

Changes

No recorded changes to this operation across all 1 revision of this API.