API Reference

Overview of Fairseq API endpoints and how to authenticate.

This page is an overview of the Fairseq API. For detailed endpoint docs, start here:

Base URL

TEXT
https://api.fairseq.io

Authentication

Authenticate with an API key:

BASH
curl -H "Authorization: Bearer fs_..." https://api.fairseq.io/v1/usage

Error format

JSON
{
  "error": {
    "code": "invalid_request",
    "message": "Missing required field: transactions"
  }
}

Related docs

Was this page helpful? /
Back to docs