Generate Text through API Route

Choose an accessible model and provide the messages for a complete generated response.

What to Ask Leina to Do with API Route

Copy a prompt, add your details, and send it to Leina in your connected team chat.

Use a chosen accessible model to draft text from supplied requirements.

List API Route models, then use model [selected model ID] to draft [document type] using these requirements [requirements]. Return the complete response.

Send a supplied passage to a specified model with summary instructions.

Use API Route model [model ID] to summarize this text [text] into [summary requirements]. Preserve named facts and state uncertainty.

Get Started with API Route

  1. Connect Your Account

    Connect your API Route API key.

  2. Try a Task

    Tell Leina what you need in your team chat. Include the source, destination, and expected result.

    Set Up Leina in Your Chat →
  3. Check the Result

    Review the result and any changes in the connected app.

Supported API Route Capabilities

This integration lists API Route model IDs and sends non-streaming chat completion requests.

Model Discovery

List model identifiers accessible to the connected key.

Chat Completion

Generate a complete response from the selected model and supplied messages.

View All 2 Actions
  • Create Chat Completion
  • List Models

Visit Provider Website ↗

Frequently Asked Questions

How do I choose a valid model?

List models accessible to your key and use the selected model ID. Availability can differ across accounts.

Does this return streaming text?

No. The action waits for a complete response. Requests for streaming are not supported by this connector action.

Does listing models use inference credit?

Listing models does not run inference. Generating a chat response is a billed request and requires account credit.

Your AI employee for API Route

Tell Leina what you need in your team chat. Include the source, destination, and expected result.