Skip to content

API Reference

The FIRST Inference Gateway provides an OpenAI-compatible API.

Base URL

http://your-gateway-domain:8000/resource_server

Authentication

All requests require a Globus access token in the Authorization header:

Authorization: Bearer <globus-access-token>

Endpoints

Chat Completions

POST /v1/chat/completions
POST /{cluster}/{framework}/v1/chat/completions

Completions

POST /v1/completions
POST /{cluster}/{framework}/v1/completions

Batch Processing

POST /v1/batches
GET /v1/batches/{batch_id}

For detailed API documentation, refer to the OpenAI API Reference as FIRST follows the same schema.

Request Parameters

See the User Guide for detailed parameter documentation.