Query Parameters
Start index of the page (default: 0)
Number of repos to return per page (default: 100, min: 1, max: 100)
Field to order results by (default: “created_at”)
Whether to sort in descending order (default: false)
URL-encoded JSON map of metadata values to filter by
Response
Array of repo objects
Unique identifier for the repo
Time when the repo was originally created (ISO 8601 timestamp)
Time when the repo was last modified (ISO 8601 timestamp)
Custom key/value pairs associated with the repo
Start index of the next page (omitted if no more pages)
Total number of repos matching the query
curl -X GET "https://api.relace.run/v1/repo?page_size=10" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"items": [
{
"repo_id": "123e4567-e89b-12d3-a456-426614174000",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T11:15:00Z",
"metadata": {
"name": "my-project",
"description": "A sample project"
}
}
],
"total_items": 1
}