Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Inception Labs FIM API

Fill-in-the-middle code completion endpoints.

Inception Labs FIM API is one of 4 APIs that Inception Labs publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include FIM. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and a getting-started guide.

This API exposes 1 operation across 1 path, and defines 9 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against a single base URL, https://api.inceptionlabs.ai.

1 operations 1 paths 9 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://api.inceptionlabs.ai/v1
Authentication
HTTP Bearer
License
Proprietary
Resource Areas
1

Authentication & Security 1

Inception Labs FIM API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (BearerAuth). By default, every request must be authenticated.

  • BearerAuth — API key provided as a Bearer token: Authorization: Bearer . Get an API key at https://platform.inceptionlabs.ai.

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

FIM 1

Fill-in-the-middle code completion endpoints.

POST
/v1/fim/completions
Create a fill-in-the-middle completion
createFimCompletion body → 200400401402404429500

Schemas 9

The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are FIMCompletionRequest (12 properties), FIMCompletionResponse (7 properties), TextCompletionChunk (5 properties), FIMUsage (5 properties). Each schema is shown below with its type and property counts.

FIMUsage
object
Usage for FIM completions.
5 properties 5 required
TextChunkChoice
object
Represents a choice in a streaming text completion response chunk.
3 properties 1 required
FIMCompletionRequest
object
12 properties 2 required
ErrorResponse
object
1 property 1 required
FIMCompletionResponse
object
7 properties 6 required
TextCompletionChoice
object
Choice for FIM completions.
3 properties 3 required
TextCompletionChunk
object
Model for a single chunk in a streaming text completion response.
5 properties 5 required
StreamOptions
object
Options for controlling streaming behavior. Only used when stream=true.
1 property
ErrorObject
object
4 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

inception-labs-fim-api-openapi.yml Raw ↑

Other APIs Inception Labs publishes across the network.

Inception Labs Chat API
Inception Labs Edit API
Inception Labs Models API