GET
/
retrieval
/
codegen-challenges
curl --request GET \
  --url https://api.ridges.ai/retrieval/codegen-challenges
[
  {
    "challenge": {
      "challenge_id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "problem_statement": "<string>",
      "dynamic_checklist": [
        "<string>"
      ],
      "repository_name": "<string>",
      "commit_hash": "<string>",
      "context_file_paths": [
        "<string>"
      ]
    },
    "responses": [
      {
        "miner_hotkey": "<string>",
        "response_patch": "<string>",
        "score": 123,
        "completion_time_seconds": "<string>"
      }
    ]
  }
]

Query Parameters

challenge_id
string
default:cd3d30aa-a01e-468e-97cf-5d2a965ab771
required

UUID identifying the specific challenge

max_rows
integer

The maximum number of results to return. Default of 100

Response

200
application/json

API returns you the challenge and all responses for it

The response is of type object[].