Mixlayer API guide

mixlayer.com

Use Mixlayer to generate chat completions, browse available models, compare latency and token usage, and mask sensitive data before sending.

Actions and inputs

chat

Generate a chat completion for the supplied messages.

Inputs model ID, messages

models list

List the models available to your account.

ladder

Run the same prompt across models to compare latency, token usage, and cost.

Inputs prompt, optional model IDs

shield ask

Mask detected sensitive data locally before sending it with a prompt.

Inputs prompt, data file

Saved Mixlayer model filter in Smith

Create

Save a model catalog filter in Smith.

Inputs filter name, minimum context length, capability requirements

Read

View the saved criteria and find matching Mixlayer models.

Inputs saved filter ID

Update

Change the required context length or capabilities.

Inputs saved filter ID, minimum context length, capability requirements

Delete

Delete the saved model filter from Smith.

Inputs saved filter ID