Skip to content

API Overview

The Monid HTTP API lets you discover, inspect, and run data endpoints programmatically.

Base URL

https://api.dev.monid.ai

Authentication

All /v1/* endpoints require an API key passed as a Bearer token:

Authorization: Bearer monid_live_...

Create an API key at https://app.dev.monid.ai/access/api-keys.

Endpoints

MethodPathDescription
POST/v1/discoverSearch for data endpoints
POST/v1/inspectGet full endpoint details
POST/v1/runExecute a data endpoint
GET/v1/runsList runs
GET/v1/runs/:runIdGet run status and results
GET/v1/wallet/balanceGet wallet balance

Request Format

All request bodies must be JSON with Content-Type: application/json.

bash
curl -X POST https://api.dev.monid.ai/v1/discover \
  -H "Authorization: Bearer monid_live_..." \
  -H "Content-Type: application/json" \
  -d '{"query": "twitter posts"}'

Response Format

All responses return JSON. Successful responses return the resource directly. Error responses return:

json
{
  "code": 400,
  "message": "Descriptive error message"
}

Pagination

All list endpoints use cursor-based pagination:

Request:

ParameterTypeDefaultDescription
limitnumber10Maximum items to return (max varies by endpoint)
cursorstring--Opaque cursor from a previous response

Response:

json
{
  "items": [],
  "cursor": "eyJsYXN0..."
}

If cursor is null or absent, you've reached the last page.

Error Codes

CodeMeaning
400Bad request -- invalid input, malformed JSON, or validation error
401Unauthorized -- missing or invalid API key
402Payment required -- insufficient wallet balance
403Forbidden -- key is valid but not associated with a workspace
404Not found -- resource doesn't exist
408Request timeout -- execution timed out
500Internal server error

Request Tracing

Every request is assigned a unique request ID via the x-request-id header. Include this ID when reporting issues.

The data layer for AI agents.