Fireworks AI REST API enables you to interact with various Language, Image and Embedding Models using the API Key.

Authentication

All requests made to the Fireworks AI via REST API must include an Authorization header.

Header should specify a valid Bearer Token with API key and must be encoded as JSON with the “Content-Type: application/json” header.

This ensures that your requests are properly authenticated and formatted for interaction with the Fireworks AI.

A Sample header to be included in the REST API request should look like below:

authorization: Bearer <API_KEY>