GitHub Repos Get
1 credits/call
ae_github_repos_get
Get detailed information about a GitHub repository, including its owner, visibility, fork relationships (if it's a fork), and — when supported — its code of conduct.
1 credits/call
Pricing
1 credits/call
| Condition | Charge |
|---|---|
| Each call | 1 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
repo | string | Yes | The name of the repository without the `.git` extension. The name is not case sensitive. | — |
owner | string | Yes | The account owner of the repository. The name is not case sensitive. | — |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_github_repos_get' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"owner": "hmjz100",
"repo": "LinkSwift"
}
}'Response exampleresponse.json
{
"allow_forking": true,
"archive_url": "https://api.github.com/repos/hmjz100/LinkSwift/{archive_format}{/ref}",
"archived": false,
"id": 523325759,
"name": "LinkSwift",
"url": "https://api.github.com/repos/hmjz100/LinkSwift"
}This example shows part of the response. Copied content is valid JSON.

