loops
loops

Get a loop

API for managing loops — named, cloud-executed agent automations triggered by schedule, GitHub events or authenticated API calls.

get/api/projects/{project_id}/loops/{id}/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/loops/{id}/
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

idstring required
project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Response

idstring uuid required
team_idinteger required
created_by_idinteger nullable required
namestring required
descriptionstring required
visibilitystring required
instructionsstring required
runtime_adapterstring required
modelstring required
reasoning_effortstring nullable required
sandbox_environment_idstring uuid nullable required
enabledboolean required
disabled_reasonstring nullable required
overlap_policystring required
internalboolean required
origin_productstring required
last_run_atstring date-time nullable required
last_run_statusstring nullable required
last_errorstring nullable required
consecutive_failuresinteger required
created_atstring date-time required
updated_atstring date-time required

Changes

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