AI-XNexus API v1.0

Programmatic access to the world's largest vertical AI dataset library. Integrate our data pipeline directly into your training workflow using standard RESTful HTTP requests.

Base URL: https://api.ai-xnexus.com/api/v1

Authentication

Some endpoints (like downloading data) require authentication. You must include the JWT token in the header of your requests.

# Header Example
Authorization: Bearer <your_token_here>
POST

/auth/login

Exchange email credentials for an access token.

Request Body

{ "email": "user@example.com" }

Response

{ "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "user": { "id": 1, "username": "User", ... } }
GET

/datasets

Retrieve a list of approved datasets. Supports filtering.

Query Params: domain, modality, q (search keyword)
{
  "data": [
    {
      "id": 1,
      "title": "AX-Medi-Scan Core",
      "domain": "Medical",
      "size": "850 TB",
      "downloads": 12402
    }
  ]
}
GET

/datasets/{id}

Get detailed metadata for a specific dataset.

POST

/datasets

Submit a new dataset. Authentication is optional (for anonymous submissions).

{ "name": "New Dataset", "desc": "Description...", "domain": "Finance", "task": "NLP" }
POST

/datasets/{id}/download

Generate a secure download URL. Requires Authentication.

{ "url": "https://cdn.ai-xnexus.com/secure/1/file.zip?token=..." }
GET

/experts

List registered experts. Use ?collab=true to filter for those open to collaboration.