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

Octen Messages API

The Messages API from Octen — 1 operation(s) for messages.

Octen Messages API is one of 17 APIs that Octen publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 6 JSON Schema definitions.

Tagged areas include Message. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, rate-limit docs, and 6 JSON Schemas.

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

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

1 operations 1 paths 23 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://api.octen.ai
Authentication
HTTP Bearer, API Key, HTTP Bearer, API Key
Resource Areas
1

Authentication & Security 4

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

  • bearerAuth — Bearer token used for request authentication. Alternatively, you can send the API key in the x-api-key header. Note: A payment method is required to use the AP…
  • apiKeyAuth — API key used for request authentication. Alternatively, you can send the key as a Bearer token in the Authorization header. Note: A payment method is required…
  • bearerAuthNoPayment — Bearer token used for request authentication. Alternatively, you can send the API key in the x-api-key header.
  • apiKeyAuthNoPayment — API key used for request authentication. Alternatively, you can send the key as a Bearer token in the Authorization 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.

Messages 1
POST
/v1/messages
Create a message
messages 1 param body → 200400401403404413429500

Schemas 23

The contract defines 23 schemas that model the data the API accepts and returns. The most detailed are WebSearchOptions (15 properties), MessagesRequest (15 properties), MessagesContentBlock (13 properties), MessagesResponseContentBlock (11 properties). Each schema is shown below with its type and property counts.

FullContentOptions
object
Controls whether to return the full raw content of each result page.
2 properties
MessagesToolDefinition
A tool definition. One of a custom tool, the built-in octenbroadsearch tool, or the octensearch tool.
HighlightOptions
object
Controls highlight extraction from result pages.
2 properties
AnthropicErrorResponse
object
Error body in the Anthropic protocol format.
2 properties 2 required
MessagesWebSearchResult
object
A single search result block.
8 properties
MessagesRequest
object
Request body for the Messages API. Some parameters apply only to certain models; unsupported parameters are ignored.
15 properties 3 required
MessagesOctenSearchTool
object
The built-in octensearch server tool, executed by Octen.
4 properties 2 required
OctenSearchToolParameters
Behavior configuration for the built-in octensearch tool. All parameters are optional and share the same semantics and defaults as the Web Search API. The quer…
MessagesResponseContentBlock
object
A content block in the response. The fields present depend on type.
11 properties
MessagesUsage
object
Token usage information.
8 properties 2 required
MessagesSystemBlock
object
A system prompt text block.
3 properties 2 required
MessagesOctenBroadSearchTool
object
The built-in octenbroadsearch server tool, executed by Octen.
4 properties 2 required
MessagesMessage
object
A message in the conversation. Tool results are returned via a toolresult content block in a user message.
2 properties 2 required
MessagesCitation
object
A citation into a search result. Returned only when octensearch was used and the text cites a result.
5 properties
WebSearchOptions
object
15 properties
MessagesCustomTool
object
A custom tool, executed by the caller and returned via a toolresult block.
5 properties 1 required
OctenBroadSearchToolParameters
Behavior configuration for the built-in octenbroadsearch tool. Identical to octensearch except it accepts maxqueries instead of maxsearches. All parameters are…
MessagesToolChoice
object
Controls whether and how the model calls tools.
3 properties
MessagesThinking
object
Thinking options for reasoning models.
3 properties
MessagesContentBlock
object
A content block within a message. The fields used depend on type. For replaying a multi-turn conversation, blocks such as tooluse, toolresult, thinking, redact…
13 properties 1 required
MessagesResponse
object
A non-streaming response. Returned when stream=false.
9 properties 7 required
CacheControl
object
Prompt caching marker. Sets a cache breakpoint so the stable prefix up to this block can be reused.
2 properties 1 required
MessagesStreamEvent
object
A streaming SSE event. Returned when stream=true. Events arrive in order: messagestart → contentblockstart/contentblockdelta/contentblockstop → messagedelta →…
7 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

octen-ai-messages-api-openapi.yml Raw ↑

Other APIs Octen publishes across the network.

Octen MCP Server
Octen Answer API
Octen Broad Search API
Octen Business Search API
Octen Embedding API
Octen Extract API
Octen Grounded Generation API
Octen Image Search API
Octen Images API
Octen News Search API
Octen Research API
Octen Search API
Where this information came from

This is an independent, third-party profile of Octen Messages 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.