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

Baseten Messages API

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

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

Tagged areas include Message. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and pricing.

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://inference.baseten.co.

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://inference.baseten.co/v1
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Baseten Messages API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (ApiKeyAuth). By default, every request must be authenticated.

  • ApiKeyAuth — Use Api-Key as the scheme in the Authorization header: Authorization: Api-Key YOURAPIKEY.

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
createMessage body → 200400401404429500

Schemas 9

The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are MessagesRequest (12 properties), MessagesResponse (8 properties), ToolUseBlock (4 properties), ToolResultBlock (4 properties). Each schema is shown below with its type and property counts.

InputMessage
object
A message in the conversation.
2 properties 2 required
ToolDefinition
object
A tool the model can call.
3 properties 2 required
ToolUseBlock
object
A tool use content block generated by the model.
4 properties 4 required
TextBlock
object
A text content block.
2 properties 2 required
MessagesResponse
object
The message response returned by the model.
8 properties 7 required
Usage
object
Token usage statistics.
2 properties
ToolResultBlock
object
A tool result content block supplied by the user in response to a tool call.
4 properties 3 required
MessagesRequest
object
Request body for creating a message.
12 properties 3 required
ToolChoice
Controls which tool (if any) the model calls.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

baseten-messages-api-openapi.yml Raw ↑

Other APIs Baseten publishes across the network.

Baseten Management & Async API
Baseten Chat Completions API
Where this information came from

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