Predict.aiDocs

API Reference

Base URL, headers, conventions, and every endpoint prefix in one place.

The predictAI API is a JSON HTTP API under a single versioned prefix, /v1. This page covers the conventions that apply everywhere; each product section documents its own endpoints in depth.

Base URL

https://api.predict.ai

One hostname works for every account. Your data lives in a home region, and if a request lands elsewhere the API answers 409 with the correct base URL in error.details.redirect_api_base_url — the official SDKs follow that redirect automatically and cache it, so you never have to think about regions. If you'd rather skip the one-time redirect hop, use the exact base URL shown next to your API token in the app. See Authentication → Regions.

Headers

curl "$API_BASE/v1/signal" \
  -H "Authorization: Bearer pa_live_..." \
  -H "X-Workspace-Id: $WORKSPACE_ID" \
  -H "Content-Type: application/json"
HeaderRequiredPurpose
AuthorizationAlwaysBearer + your pa_live_ API token.
X-Workspace-IdAlmost alwaysThe workspace the request operates on.
Content-TypeOn writesapplication/json for all request bodies.

Conventions

  • Envelopes — most responses wrap payloads in {"data": …}; acknowledgements use {"status": …}; inference and deployments return top-level payloads. See Errors & responses.
  • Timestamps — ISO 8601, UTC (2026-07-15T00:00:00Z).
  • IDs — opaque strings. Don't parse them.
  • Pagination — list endpoints take page / per_page (or limit / offset) query params and return totals alongside the items.
  • Async work — long operations return 202 or a queued status with an ID to poll; prefer Realtime subscriptions over polling.

Endpoints by resource

PrefixSectionWhat's there
/v1/ingestion/*IngestionSources, connectors, jobs, executions, file import, webhooks
/v1/signal/*SignalsPush, browse, analyze time series
/v1/event/*Signals → EventsRecord and score discrete events under streams
/v1/segment/*SegmentsModel-ready tables: normalization, engineered features, preview
/v1/models/*ModelsCatalog, custom models, foundation models, BYOM
/v1/pipelines/*PipelinesTraining workflows, schedules, promotion decisions
/v1/training/*TrainingsRun history and reports
/v1/inference/*InferenceRun forecasts; inference history and usage
/v1/deployments/*DeploymentsDeploy, status, scale, retry, unpromote
/v1/goals/*GoalsGoals, discovery, tournaments, forecasts, scenarios, analyst, alerts, fleets
/v1/billing/*BillingBalance, quota usage, estimates, rates
/v1/workspace/*, /v1/organization/*WorkspacesTenancy, members, roles, invitations
/v1/user/*AccountAPI tokens and profile
/v1/notifications/*NotificationsFeed, channels, preferences
wss://…/v1/wsRealtimeLive events over WebSockets

Platform endpoints

Unauthenticated basics:

EndpointPurpose
GET /healthLiveness — 200 when the API is up.
GET /versionThe running API version.

Machine-readable spec

The OpenAPI 3 snapshot for the public API is served at /openapi/v1.json — use it for codegen, Postman, or AI tooling. An AI-friendly index of these docs lives at /llms.txt.

On this page