Relace Code API
The Code API from Relace — 5 operation(s) for code.
Relace Code API is one of 2 APIs that Relace publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Code. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.
This API exposes 5 operations across 5 paths, and defines 15 schemas. It is described by OpenAPI 3.0.1, at version 1.0.0.
Requests are made against 5 base URLs: https://compact.endpoint.relace.run, https://instantapply.endpoint.relace.run, https://ranker.endpoint.relace.run, https://embeddings.endpoint.relace.run, https://api.relace.run.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Relace Code API declares
1 security scheme
for authenticating requests.
It accepts HTTP bearer tokens (bearerAuth).
By default, every request must be authenticated.
bearerAuth— Relace API key Authorization header using the Bearer scheme.
Paths & Operations 5
Across 5 paths, the API surfaces 5 operations — 5 POST. Each is listed below with its method, path, parameters, and response codes.
Schemas 15
The contract defines 15 schemas that model the data the API accepts and returns. The most detailed are InstantApplyRequest (6 properties), CodeRerankerRequest (4 properties), CompactRequest (3 properties), v1CodeEmbedderRequest (3 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Relace 1
Other APIs Relace publishes across the network.