Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot commented Dec 20, 2025

Summary

Adds documentation for SSE (Server-Sent Events) streaming support in the API Explorer. This documents an existing feature that allows users to test streaming endpoints directly from the documentation, with real-time response display as data arrives.

The new section in the API Explorer page:

  • Explains that the API Explorer supports streaming endpoints including SSE
  • Notes that streaming endpoints display a "STREAM" badge next to the HTTP method
  • Links to existing documentation for configuring streaming endpoints in OpenAPI (x-fern-streaming) and Fern Definition (response-stream)
  • Includes a screenshot from Hume's API Explorer as a live example with a direct link to Hume's Text-to-Speech API

Additionally, cross-links were added from the API definition SSE pages back to the API Explorer:

  • Added "Testing streaming endpoints" section to OpenAPI SSE page (fern/products/api-def/openapi-pages/endpoints/sse.mdx)
  • Added "Testing streaming endpoints" section to Fern Definition SSE page (fern/products/api-def/ferndef-pages/endpoints/sse.mdx)

Review & Testing Checklist for Human

  • Verify the internal links work correctly in both directions:
    • From API Explorer: /learn/api-definitions/openapi/extensions/server-sent-events and /learn/api-definitions/fern-definition/endpoints/server-sent-events
    • From API definition pages: /learn/docs/api-references/api-explorer#streaming-endpoints (verify anchor link works)
  • Review the screenshot - it's a full browser capture and may need to be cropped to focus on the STREAM badge and API Explorer UI
  • Check the preview deployment to ensure the image renders correctly and the Frame component displays properly

Recommended test plan: Navigate to the API Explorer page in the preview deployment, verify the new "Streaming endpoints" section appears with the screenshot and links. Then navigate to both SSE documentation pages (OpenAPI and Fern Definition) and verify the new "Testing streaming endpoints" section appears with working links back to the API Explorer.

Notes

The screenshot was captured from the Hume example at https://dev.hume.ai/reference/text-to-speech-tts/synthesize-json-streaming which shows the STREAM badge in the sidebar navigation.

Link to Devin run: https://app.devin.ai/sessions/9a58d22e3a524bc99e56bdb848c7e964
Requested by: Fern Support ([email protected])

@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@github-actions
Copy link
Contributor

Assignee Required

This PR was opened by Devin AI but the requester's email ([email protected]) is not in the username mapping. Please add an assignee manually.

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

text: string
```

## API Exploere
Copy link
Contributor

Choose a reason for hiding this comment

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

📝 [vale] reported by reviewdog 🐶
[FernStyles.Headings] 'API Exploere' should use sentence-style capitalization.

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

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