Skip to main content
GET
/
public
List Public Indexes
curl --request GET \
  --url https://api.contextone.com/public \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "id": "<string>",
      "type": "repo",
      "name": "<string>",
      "description": "<string>",
      "source": "<string>",
      "indexType": "full",
      "popularity": 123,
      "lastIndexed": "2023-11-07T05:31:56Z",
      "status": "COMPLETED",
      "versionCount": 123
    }
  ],
  "pagination": {
    "page": 123,
    "per_page": 123,
    "has_more": true
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
integer
default:1

Page number

per_page
integer
default:10

Items per page

Required range: x <= 100
sort
enum<string>
default:latest

Sort order

Available options:
latest,
popular
q
string

Search query

source
enum<string>

Filter by source

Available options:
repo,
llms.txt
updated
enum<string>

Filter by recent updates

Available options:
1,
7,
30,
90
status
enum<string>

Filter by status

Available options:
ALL,
COMPLETED,
IN-PROGRESS,
FAILED,
CANCELED

Response

200 - application/json

Public indexes list

success
boolean
required
data
object[]
required
pagination
object
required
I