Skip to main content
GET
/
api
/
v1
/
agents
/
{agentId}
/
files
List or download agent source files
curl --request GET \
  --url https://app.eigenpal.com/api/v1/agents/{agentId}/files \
  --header 'Authorization: Bearer <token>'
{
  "issues": [
    {
      "field": "<string>",
      "message": "<string>",
      "code": "<string>"
    }
  ],
  "requestId": "<string>",
  "hint": "<string>",
  "docsUrl": "<string>"
}

Authorizations

Authorization
string
header
required

API key issued from Settings → API Keys. Pass as Authorization: Bearer <key>.

Path Parameters

agentId
string
required

Agent id or slug

Query Parameters

path
string
prefix
string
ref
string

Git ref (default main)

Response

Agent source files or one file payload