Skip to main content
GET
/
api
/
v1
/
repositories
List repositories
curl --request GET \
  --url https://api.agenhq.com/api/v1/repositories \
  --header 'x-api-key: <api-key>'
{
  "items": [
    {
      "id": "<string>",
      "workspace_id": "<string>",
      "code_provider_id": "<string>",
      "name": "<string>",
      "full_name": "<string>",
      "clone_url": "<string>",
      "default_branch": "<string>",
      "platform": "<string>",
      "external_id": "<string>",
      "enabled": true,
      "webhooks_registered": true,
      "webhook_secret": "<string>",
      "analysis_status": "<string>",
      "analysis_error": "<string>",
      "last_analyzed_at": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "next_cursor": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.agenhq.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

Response

A paginated list of repositories connected to a workspace.

A paginated list of repositories connected to a workspace.

items
object[]
required
next_cursor
string | null
required