How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Edgee Compress API

Standalone token compression endpoint

Edgee Compress API is one of 7 APIs that Edgee publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Compress. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and authentication docs.

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

Requests are made against a single base URL, https://edgee.io.

1 operations 1 paths 24 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://edgee.io
Authentication
HTTP Bearer, API Key
Resource Areas
1

Authentication & Security 2

Edgee Compress API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth). An API key is passed in the header as x-api-key (apiKeyAuth). By default, every request must be authenticated.

  • bearerAuth — Bearer authentication header of the form Bearer , where is your API key. More info [here](/docs/api-reference/authentication)
  • apiKeyAuth — Anthropic-style API key authentication using the x-api-key header

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.

Compress 1

Standalone token compression endpoint

POST
/v1/compress
Compress request
compress body → 200400401403

Schemas 24

The contract defines 24 schemas that model the data the API accepts and returns. The most detailed are ResponsesRequest (14 properties), ChatCompletionRequest (12 properties), CompressMetadata (8 properties), CreateMessageRequest (7 properties). Each schema is shown below with its type and property counts.

ToolChoiceTypedMode
object
Typed-mode form of toolchoice — an object containing only a type field set to auto or none.
1 property 1 required
ToolChoiceSpecific
object
2 properties 2 required
FunctionDefinition
object
3 properties 1 required
ResponsesRequest
object
14 properties 2 required
ContentBlock
object
1 required
ResponsesContentPart
A typed content part within a message item.
CompressRequest
An LLM request payload to compress. Accepts any of three wire formats — the format is auto-detected from the request body: a top-level "system" key indicates A…
ToolChoice
object
1 required
ToolCall
object
3 properties 3 required
MessageParam
object
2 properties 2 required
AnthropicTool
object
3 properties 2 required
CompressResponse
object
The original request payload with compressed content fields replaced. All fields not touched by compression (model, temperature, topp, stopsequences, etc.) pas…
1 property 1 required
CompressionModel
string
Selects the compression bundle to apply to the request. Equivalent to the X-Edgee-Compression-Model header.
Tool
object
2 properties 2 required
ChatCompletionRequest
object
12 properties 2 required
CompressMetadata
object
Token compression metrics appended to every /v1/compress response.
8 properties 6 required
ErrorResponse
object
Error response. The error object follows OpenAI's error envelope shape; the gateway additionally populates type (Anthropic-style category) and param when appli…
1 property 1 required
ResponsesToolChoiceFunction
object
Forces the model to call the specified function.
2 properties 2 required
ResponsesInputItem
A single item in the input array. Either a message turn, an assistant function call, or a function call output.
Message
object
7 properties 1 required
CreateMessageRequest
object
7 properties 3 required
FunctionCall
object
2 properties 2 required
ToolChoiceFunction
object
1 property 1 required
ResponsesTool
object
Tool definition in the Responses API flat format. Unlike Chat Completions, there is no nested function key.
4 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

edgee-compress-api-openapi.yml Raw ↑

Other APIs Edgee publishes across the network.

Edgee Console API
Edgee Chat API
Edgee Messages API
Edgee Models API
Edgee Responses API
Edgee Tokens API
Where this information came from

This is an independent, third-party profile of Edgee Compress API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.