AI agent? Read this page as Markdown at /genai/task/model.md — append .md to any docs URL, or start from /llms.txt.

Task data model

View field support, webhooks, and list parameters for each integration on the Supported Integrations page.

idstring
created_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
A short human-readable title for the coding agent task.
instructionsstring
The natural-language instructions given to the coding agent.
status enum
Valid values:
"PENDING"
"RUNNING"
"BLOCKED"
"COMPLETED"
"FAILED"
model_idstring
user_idstring
(reference to HrisEmployee)
repo_urlstring
The git repository that the coding agent works in.
source_branch_identifierstring
The name of the branch that the coding agent starts its work from.
target_branch_identifierstring
The name of the branch that the coding agent pushed its work to.
pullrequest_urlstring
The pull/merge request that the coding agent opened for its work.
web_urlstring
The provider's own web page for this task.
messages array
The conversation between the user and the coding agent.
summarystring
The coding agent's summary of the work that it performed.
errorstring
The failure description (when the status is FAILED).
files_changednumber
lines_addednumber
lines_deletednumber
tokens_usednumber
started_atdate
When the coding agent started working on the task. (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
completed_atdate
When the coding agent stopped working on the task. (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
agent_idstring
id of the genai_agent (the reusable agent/preset configuration) that runs this task.
organization_idstring
id of the genai_organization (the organization or execution environment) that this task runs under.
Are we missing anything? Let us know
Was this page helpful?