Skip to main content

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.

A repository connected to a workspace.

id
string
required
read-only

The unique identifier of the repository inside Agen.

workspace_id
string
required
read-only

The workspace that owns this repository.

code_provider_id
string
required

The connected code provider account used to access this repository.

name
string
required

The repository name without the owner or namespace.

full_name
string
required

The full repository name including the owner or namespace, for example agenhq/agen.

clone_url
string
required

The git clone URL used by Agen to access the repository contents.

default_branch
string
required

The default branch of the repository, such as main or master.

platform
required

The code hosting platform where the repository is hosted.

Allowed value: "gitlab"
external_id
string
required

The repository identifier used by the external code hosting platform.

enabled
boolean
default:true
required

Whether Agen can use this repository for sessions and automation.

webhooks_registered
boolean
required
read-only

Whether Agen has successfully registered webhooks for this repository.

webhook_secret
string | null
required

The webhook signing secret created by Agen for this repository, if available.

analysis_status
required

The current status of the repository analysis job.

Allowed value: "pending"
analysis_error
string | null
required

The latest repository analysis error message, if analysis failed.

last_analyzed_at
string<date-time> | null
required

When the repository was last analyzed by Agen, if analysis has completed at least once.

created_at
string<date-time>
required
read-only

When the repository record was created in Agen.

updated_at
string<date-time>
required
read-only

When the repository record was last updated in Agen.