Info
Endpoint added: GET /agents/repos/{}/{}/automations/{}/tasks
openapi:GET /agents/repos/{}/{}/automations/{}/tasks::operation.endpoint-added- Product
- GitHub REST API
- Source
- OpenAPI URL
- Change kind
- Endpoint Added
- Detected
- Last updated
Deterministic evidence
Before / after
Extracted from GitHub's published contract. Shows the whole operation — a narrower excerpt was not available for this change. Open the source ↗
null
{
"operationId": "agent-automations/list-repo-automation-tasks",
"parameters": [
{
"in": "path",
"name": "owner",
"required": true,
"schema": {
"type": "string"
}
},
{
"in": "path",
"name": "repo",
"required": true,
"schema": {
"type": "string"
}
},
{
"in": "path",
"name": "automation_id",
"required": true,
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "per_page",
"schema": {
"default": 30,
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
{
"in": "query",
"name": "page",
"schema": {
"default": 1,
"minimum": 1,
"type": "integer"
}
},
{
"in": "query",
"name": "sort",
"schema": {
"default": "updated_at",
"enum": [
"updated_at",
"created_at"
],
"type": "string"
}
},
{
"in": "query",
"name": "direction",
"schema": {
"default": "desc",
"enum": [
"asc",
"desc"
],
"type": "string"
}
},
{
"in": "query",
"name": "state",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "is_archived",
"schema": {
"default": false,
"type": "boolean"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"tasks": {
"items": {
"properties": {
"archived_at": {
"format": "date-time",
"nullable": true,
"type": "string"
},
"artifacts": {
"items": {
"properties": {
"data": {
"oneOf": [
{
"properties": {
"global_id": {
"type": "string"
},
"id": {
"format": "int64",
"type": "integer"
}
},
"required": [
"id"
],
"type": "object"
},
{
"properties": {
"base_ref": {
"type": "string"
},
"head_ref": {
"type": "string"
}
},
"required": [
"head_ref",
"base_ref"
],
"type": "object"
}
]
},
"provider": {
"enum": [
"github"
],
"type": "string"
},
"type": {
"enum": [
"pull",
"branch"
],
"type": "string"
}
},
"required": [
"provider",
"type",
"data"
],
"type": "object"
},
"type": "array"
},
"clients": {
"items": {
"properties": {
"creator": {
"type": "boolean"
},
"integration_id": {
"type": "string"
},
"slug": {
"type": "string"
}
},
"required": [
"integration_id",
"slug",
"creator"
],
"type": "object"
},
"type": "array"
},
"created_at": {
"format": "date-time",
"type": "string"
},
"creator": {
"oneOf": [
{
"properties": {
"id": {
"format": "int64",
"type": "integer"
}
},
"type": "object"
}
]
},
"creator_type": {
"enum": [
"user",
"organization"
],
"type": "string"
},
"custom_agent": {
"properties": {
"id": {
"type": "string"
}
},
"type": "object"
},
"html_url": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"owner": {
"properties": {
"id": {
"format": "int64",
"type": "integer"
}
},
"type": "object"
},
"repository": {
"properties": {
"id": {
"format": "int64",
"type": "integer"
}
},
"type": "object"
},
"session_count": {
"format": "int32",
"type": "integer"
},
"state": {
"enum": [
"queued",
"in_progress",
"completed",
"failed",
"idle",
"waiting_for_user",
"timed_out",
"cancelled"
],
"type": "string"
},
"updated_at": {
"format": "date-time",
"type": "string"
},
"url": {
"type": "string"
},
"user_collaborators": {
"deprecated": true,
"items": {
"properties": {
"id": {
"format": "int64",
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"required": [
"id",
"state",
"created_at"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"tasks"
],
"type": "object"
}
}
},
"headers": {
"Link": {
"schema": {
"type": "string"
}
}
}
},
"401": {
"content": {
"application/json": {
"schema": {
"properties": {
"documentation_url": {
"type": "string"
},
"error_code": {
"type": "string"
},
"errors": {
"items": {
"properties": {
"code": {
"enum": [
"missing",
"missing_field",
"invalid",
"already_exists",
"unprocessable",
"custom"
],
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
},
"type": "array"
},
"limited_resource": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"message",
"documentation_url"
],
"type": "object"
}
}
}
},
"404": {
"content": {
"application/json": {
"schema": {
"properties": {
"documentation_url": {
"type": "string"
},
"error_code": {
"type": "string"
},
"errors": {
"items": {
"properties": {
"code": {
"enum": [
"missing",
"missing_field",
"invalid",
"already_exists",
"unprocessable",
"custom"
],
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
},
"type": "array"
},
"limited_resource": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"message",
"documentation_url"
],
"type": "object"
}
}
}
},
"422": {
"content": {
"application/json": {
"schema": {
"properties": {
"documentation_url": {
"type": "string"
},
"error_code": {
"type": "string"
},
"errors": {
"items": {
"properties": {
"code": {
"enum": [
"missing",
"missing_field",
"invalid",
"already_exists",
"unprocessable",
"custom"
],
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
},
"type": "array"
},
"limited_resource": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"message",
"documentation_url"
],
"type": "object"
}
}
}
}
},
"tags": [
"agent-automations"
],
"x-github": {
"category": "agent-automations",
"enabledForGitHubApps": true,
"githubCloudOnly": false,
"subcategory": "agent-automations"
}
}
Monitored for you
Does this change affect your integration?
Choose the operations and fields your services use. detektu matches GitHub findings to that declared usage so your team can review the relevant evidence. No agent or repository access required.