GitHub Repos List For User

1 credits/call
ae_github_repos_list_for_user

List the public repositories owned by or associated with a specific GitHub user.

SocialProductivity
1 credits/call

Pricing

1 credits/call
ConditionCharge
Each call1 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
pageintegerNoThe page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."1
sortenum (created | updated | pushed | full_name)NoThe property to sort the results by.full_name
typeenum (all | owner | member)NoLimit results to repositories of the specified type.owner
per_pageintegerNoThe number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."30
usernamestringYesThe handle for the GitHub user account.—
directionenum (asc | desc)NoThe order to sort by. Default: `asc` when using `full_name`, otherwise `desc`.—

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_list_for_user' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "page": 1,
    "per_page": 30,
    "sort": "full_name",
    "type": "owner",
    "username": "test"
  }
}'
Response exampleresponse.json
JSONPartial content
[
  {
    "description": "Create hello world",
    "fork": false,
    "forks_url": "https://api.github.com/repos/test/HelloWorld/forks",
    "id": 12196274,
    "name": "HelloWorld",
    "url": "https://api.github.com/repos/test/HelloWorld"
  }
]

This example shows part of the response. Copied content is valid JSON.