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.

Productivity
1 credits/call

Pricing

1 credits/call
ConditionCharge
Each call1 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
repostringYesThe name of the repository without the `.git` extension. The name is not case sensitive.—
ownerstringYesThe 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-Key
Request 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
JSONPartial content
{
  "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.