test_framework

Create a test profile

Changed on

Create a test profile

post/test_framework/v1/test-profiles/

Request

  • Base URL
    https://api.cekura.ai
  • URL
    https://api.cekura.ai/test_framework/v1/test-profiles/
  • Auth
    • API key in header X-CEKURA-API-KEY
    • or HTTP bearer
    • or HTTP bearer

Request body

agentinteger nullable

ID of the agent. Either agent or project must be provided.

projectinteger nullable

ID of the project. Either agent or project must be provided.

namestring required

Name of the test profile

informationobject

Test profile information. Use the sectioned shape — main_agent_variables (sent to the agent under test as dynamic variables at call time) and testing_agent_variables (persona/context used by the simulated caller, not sent to the agent). Legacy flat dicts (no section keys) are still accepted and delivered to both sides for backward compatibility. Example: {"main_agent_variables": {"user_id": "U-42"}, "testing_agent_variables": {"customer_name": "John Doe"}}.

Response

idinteger
projectinteger nullable
agentinteger nullable
agent_namestring

Name of the agent associated with this test profile Example: "Customer Support Agent"

namestring required
informationunknown
created_byinteger nullable

ID of the user who created this test profile

last_updated_byinteger nullable

ID of the user who last updated this test profile

created_atstring date-time

Timestamp when the test profile was created

updated_atstring date-time

Timestamp when the test profile was last updated

Changes