v22

latestOpenAPI 3.1.0raw.githubusercontent.com2025-10-07253798.6 KB
sandbox
sandbox
sandbox

Analyze Sandbox Logs

Analyze sandbox setup logs using an AI agent.

This endpoint creates an AI agent that will analyze the setup logs from a sandbox, identify any errors, provide insights about what went wrong, and suggest potential solutions. The analysis runs asynchronously and results can be retrieved using the returned agent run ID.

Rate limit: 5 requests per minute.

post/v1/organizations/{org_id}/sandbox/{sandbox_id}/analyze-logs

Path parameters

sandbox_idinteger required
org_idinteger required

Headers

{"stackTrail":"paths:/v1/organizations/{org_id}/sandbox/{sandbox_id}/analyze-logs:post:parameters:2:schema","oasType":"schema","type":"unknown","title":"Authorization"}

Response

Successful Response

agent_run_idinteger required

The ID of the agent run analyzing the logs

statusstring required

The status of the agent run

messagestring required

Information about the analysis process