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.
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 |
|---|---|---|---|---|
page | integer | No | The 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 |
sort | enum (created | updated | pushed | full_name) | No | The property to sort the results by. | full_name |
type | enum (all | owner | member) | No | Limit results to repositories of the specified type. | owner |
per_page | integer | No | The 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 |
username | string | Yes | The handle for the GitHub user account. | — |
direction | enum (asc | desc) | No | The 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-KeyRequest 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
[
{
"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.

