Skip to content

Fix LLMS.txt wrong info by marking v0.2 stream info and keepalive endpoints as deprecated to h - #10

Open
mintlify[bot] wants to merge 4 commits into
mainfrom
fix/llm-text-renew-stream-lease
Open

Fix LLMS.txt wrong info by marking v0.2 stream info and keepalive endpoints as deprecated to h#10
mintlify[bot] wants to merge 4 commits into
mainfrom
fix/llm-text-renew-stream-lease

Conversation

@mintlify

@mintlify mintlify Bot commented May 3, 2026

Copy link
Copy Markdown
Contributor

Summary

This update marks the stream-info and keepalive-stream endpoints within the v0.2 API reference as deprecated. A warning note has been added to both documentation pages, advising new integrations to utilize the v1 API.

Changes

  • Added a deprecation warning to api-reference/v0.2/stream-info.mdx.
  • Marked the stream-info endpoint as deprecated in its frontmatter.
  • Added a deprecation warning to api-reference/v0.2/keepalive-stream.mdx.
  • Marked the keepalive-stream endpoint as deprecated in its frontmatter.

Mintlify

0 threads from 0 users in Mintlify

  • No unresolved comments

Open in Mintlify Editor

Mintlify-Source: dashboard-editor
title: "Keepalive"
openapi: "api-reference/v0.2/openapi.json POST /streams/{stream_id}/keepalive"
hidden: true
deprecated: true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you also update the keepalive guidelines in the documentation to match v1?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Mintlify-Source: dashboard-editor
Comment thread api-reference/create-stream.mdx Outdated
- **`id`** — pass this in every later URL: `/v1/streams/{id}/...` plus stream URLs you embed in chat completion messages.
- **`publish.url`** + **`publish.token`** — feed these to a [LiveKit client SDK](https://docs.livekit.io/reference/) to connect a video source. Any LiveKit publisher works (browser, native, server-to-server). The token is short-lived; use the one returned by `/keepalive` if your publisher reconnects later.
- **`expires_at_ms`** + **`ttl_seconds`** — the lease deadline. Call `/keepalive` before it elapses (every ~2 minutes is safe). After expiry the stream's `state` flips to `ended` and stays there.
- **`publish.url`** \+ **`publish.token`** — feed these to a [LiveKit client SDK](https://docs.livekit.io/reference/) to connect a video source. Any LiveKit publisher works (browser, native, server-to-server). The token is short-lived; use the one returned by `/keepalive` if your publisher reconnects later.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have direct right access into this repo so need to update it via mintlify GUI which seems like changes the formatting of string

@setarehlotfi setarehlotfi left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants