You are reading the documentation of OpenCTI 7.260811 LTS · 7.260811.0-lts.1, supported until 2027-09.Latest is 7.261119.0 →
Reference

OpenCTI HTTP endpoints

Every HTTP endpoint OpenCTI serves in this version besides GraphQL, with its authentication and the capability it needs, generated from the source code.

OpenCTIFor developers and platform engineersGenerated from OpenCTI 7.260811.0-lts.1
CLIENTSENTRYENDPOINTSBrowserInterface and sessionScripts and readersAPI, TAXII, streams, feedsMonitoringProbes and PrometheusRate limiterEvery request under the base pathAuthenticationToken, Basic login or session/graphqlQueries, mutations, uploadsTAXII, streams, feedsA public one needs no tokenOwn ports/health/liveness, /metrics
  1. Browser → Rate limiter: request
  2. Scripts and readers → Rate limiter: request
  3. Rate limiter → Authentication: then
  4. Authentication → /graphql: per operation
  5. Authentication → TAXII, streams, feeds: capability
  6. Monitoring → Own ports: when configured
A request passes the rate limiter and its authentication before the endpoint that serves it, while health and metrics listen on ports of their own

The 48 HTTP endpoints OpenCTI 7.260811.0-lts.1 serves, the GraphQL API included. Paths are relative to the base path (app:base_path, empty by default), except /metrics on the Prometheus port, and use the Express syntax: :id is one segment, *file the rest of the path. Token or session means an Authorization: Bearer header (an API token, or a JWT signed by OpenCTI or a trusted XTM platform), a Basic login or the cookie of a browser session; a rate limiter (app:rate_protection) applies to every request on the platform port, except WebSocket connections and the IPs and user agents its skip lists name. Share data through these endpoints as Feeds, TAXII collections and streams explains; probe the platform as Health probes explains.

48 entries in OpenCTI 7.260811.0-lts.1Generated from OpenCTI-Platform/opencti@c9f5ea5 (opencti-platform/opencti-graphql/src/http, graphql/sseMiddleware.js and every file that adds a route)

GraphQL API

MethodPathWhat it servesAuthenticationCapability or condition
POST New after 7.260309.0-lts.8/graphqlThe GraphQL API: queries and mutations, and file uploads as multipart requests. Each operation checks its own capability; a few, such as login, need no authentication.Optional token or sessionClient IP in the allow list of the platform settings, when one is set (login operations stay reachable)
WebSocket/graphqlGraphQL subscriptions (graphql-ws protocol).Session
GET/schemaThe GraphQL schema in SDL with the platform version, as JSON (cached one hour).Token or session

Authentication

MethodPathWhat it servesAuthenticationCapability or condition
GET/auth/:providerStarts the login with an SSO provider (OpenID Connect, SAML, OAuth) configured on the platform, by its identifier.Public (login flow)
Any/auth/:provider/callbackReturn address of an SSO provider: opens the session, checks the IP allow list, then redirects to the page the user came from.Public (login flow)
GET/auth/certLogin with a client certificate (HTTPS with client certificate authentication enabled).Public (login flow)
GET/auth/headersLogin from the HTTP headers a trusted reverse proxy sets.Public (login flow)
GET/logoutCloses the session, logs the logout, and logs out of the SSO provider too when it is set to log out remotely.Session
GET New after 7.260309.0-lts.8/xtm/auth/jwksThe public keys (JWKS) the other XTM platforms use to verify the tokens OpenCTI signs for them.Public

Files

MethodPathWhat it servesAuthenticationCapability or condition
GET/*/{uuid}/*embedded/*An image or file embedded in the content of an entity, by the entity id and the file name.Token or session
GET/storage/encrypted/*fileDownloads a stored file inside a ZIP archive encrypted with the artifact password (app:artifact_zip_password).Token or session
GET/storage/get/*fileDownloads a stored file (import, export, attachment) and logs the download.Token or session
GET/storage/html/*fileRenders a stored Markdown file as HTML.Token or session
GET/storage/view/*fileShows a stored file in the browser (sandboxed) and logs the read.Token or session

TAXII 2.1 server

The TAXII collections defined in Data sharing, and the TAXII ingestions that receive pushed objects; a request without authentication reaches a collection only when it is public.

MethodPathWhat it servesAuthenticationCapability or condition
GET/taxii2/TAXII discovery: the server title and its API root.Token or sessionCapability TAXIIAPI
GET/taxii2/root/The API root: title, supported versions and maximum content length.Token or sessionCapability TAXIIAPI
GET/taxii2/root/collections/The TAXII collections the user can read.Token or sessionCapability TAXIIAPI
GET/taxii2/root/collections/:id/One collection.Token or session, none when the TAXII collection is publicCapability TAXIIAPI
GET/taxii2/root/collections/:id/manifest/The manifest of the objects of a collection (added_after, limit, next, match parameters).Token or session, none when the TAXII collection is publicCapability TAXIIAPI
GET/taxii2/root/collections/:id/objects/The STIX objects of a collection, as an envelope (added_after, limit, next, match parameters).Token or session, none when the TAXII collection is publicCapability TAXIIAPI
POST/taxii2/root/collections/:id/objects/Pushes STIX objects into a TAXII ingestion of the platform (content type application/taxii+json;version=2.1); answers a status to follow.Token or sessionCapability TAXIIAPI
DELETE/taxii2/root/collections/:id/objects/:object_id/Not supported: always answers an Unsupported operation error.Public
GET/taxii2/root/collections/:id/objects/:object_id/One STIX object of a collection.Token or session, none when the TAXII collection is publicCapability TAXIIAPI
GET/taxii2/root/collections/:id/objects/:object_id/versions/The versions of one object of a collection.Token or session, none when the TAXII collection is publicCapability TAXIIAPI
GET/taxii2/root/status/:status_id/The processing status of objects pushed into a collection.Token or sessionCapability TAXIIAPI

Live streams

Server-sent events (text/event-stream): the raw stream of the platform, the global stream live and the live streams defined in Data sharing.

MethodPathWhat it servesAuthenticationCapability or condition
GET/streamThe raw stream of every event of the platform (resume with the from parameter or the Last-Event-ID header).Token or sessionCapability BYPASS
GET/stream/:idA live stream by its id, starting from a date or event id (from, recover, no-dependencies parameters); live is the global stream.Token or session, none when the live stream is publicCapability TAXIIAPI and membership when the stream restricts its members, unless the stream is public; capability BYPASS for the global stream live
POST/stream/connection/:idKept for compatibility: checks that a stream connection belongs to the user.Token or session

CSV feeds

MethodPathWhat it servesAuthenticationCapability or condition
GET/feeds/:idA CSV feed: the elements matching its filters over its rolling period.Token or session, none when the feed is publicCapability TAXIIAPI

AI chatbot

MethodPathWhat it servesAuthenticationCapability or condition
POST/chatbotThe chatbot of the platform, through the former proxy used when no XTM One token is configured.Token or sessionEnterprise Edition license; AI terms accepted in the platform settings
POST New after 7.260309.0-lts.8/chatbot/agentCalls an XTM One agent and waits for its answer; with files (multipart), returns a STIX bundle.Token or sessionEnterprise Edition license; AI terms accepted in the platform settings
POST New after 7.260309.0-lts.8/chatbot/agent/streamCalls an XTM One agent and streams its answer (AI insights), cached for ai:agents_refresh_timeout minutes.Token or sessionEnterprise Edition license; AI terms accepted in the platform settings
GET New after 7.260309.0-lts.8/chatbot/agentsThe XTM One agents available for an intent.Token or sessionEnterprise Edition license; AI terms accepted in the platform settings
GET New after 7.260309.0-lts.8/chatbot/configWhether XTM One is configured, and its address, for the interface.Token or session
GET New after 7.260309.0-lts.8/chatbot/files/:fileId/downloadStreams an agent-generated file from XTM One back to the browser.Token or sessionEnterprise Edition license; AI terms accepted in the platform settings
POST New after 7.260309.0-lts.8/chatbot/messagesProxies to XTM One Platform Chat API (streaming SSE).Token or sessionEnterprise Edition license; AI terms accepted in the platform settings
POST New after 7.260309.0-lts.8/chatbot/messages/steerMid-run steering.Token or sessionEnterprise Edition license; AI terms accepted in the platform settings
GET New after 7.260309.0-lts.8/chatbot/sessionsLists the user's past conversations for the chatbot history menu.Token or sessionEnterprise Edition license; AI terms accepted in the platform settings
POST New after 7.260309.0-lts.8/chatbot/sessionsProxies to XTM One Platform Chat API to create/resume a conversation.Token or sessionEnterprise Edition license; AI terms accepted in the platform settings
DELETE New after 7.260309.0-lts.8/chatbot/sessions/:conversationIdRemoves a conversation from the chatbot history menu (archived upstream).Token or sessionEnterprise Edition license; AI terms accepted in the platform settings
POST New after 7.260309.0-lts.8/chatbot/uploadUploads files to an existing XTM One conversation and returns file_ids.Token or sessionEnterprise Edition license; AI terms accepted in the platform settings

Health and metrics

/health answers on the platform port. The other endpoints of this table listen on a port of their own: /metrics once app:telemetry:metrics:enabled is true (its port, app:telemetry:metrics:exporter_prometheus, is 14269 by default), and the liveness probe, where the version has one, once app:liveness_port is set.

MethodPathWhat it servesAuthenticationCapability or condition
GET/healthHealth of the platform and of its dependencies: 200 when healthy, 503 otherwise.Access key (health_access_key query parameter), none when app:health_access_key is public
GET New after 7.260309.0-lts.8/health/liveness on the port app:liveness_portLiveness probe: answers as soon as the process runs, before the platform is initialized.Public
GET/metrics on the port app:telemetry:metrics:exporter_prometheusPrometheus metrics, served by the OpenTelemetry Prometheus exporter at its default path.Publicapp:telemetry:metrics:enabled is true; app:telemetry:metrics:exporter_prometheus is set

Web interface and static files

MethodPathWhat it servesAuthenticationCapability or condition
GET New after 7.260309.0-lts.8/assetsStatic files of the web interface (scripts, styles, images).Publicapp:enabled_ui is true
GET New after 7.260309.0-lts.8/maps/world.pmtilesThe map tiles of the dashboards: the uploaded custom file, else the bundled one (range requests).Publicapp:enabled_ui is true
GET New after 7.260309.0-lts.8/robots.txtTells crawlers not to index any path.Public
GET*anyThe web interface (index.html) for every other path.Public
NextInference rules
Reference
Every setting and component, generated from each release's code.

Published

Overview
XTM Composer
Configuration