Microsoft Azure AI Foundry · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Azure AI Threads API

20 actions 20 updates phrasing extends openapi/azure-ai-foundry-threads-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Microsoft Azure AI Foundry's API. It is a proposal applied on top of the contract, not a document Microsoft Azure AI Foundry publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 20 · first 16 shown; the file carries all of them

$.info
$.paths['/threads'].get
$.paths['/threads'].post
$.paths['/threads/{threadId}'].get
$.paths['/threads/{threadId}'].post
$.paths['/threads/{threadId}'].delete
$.paths['/threads/{threadId}/messages'].get
$.paths['/threads/{threadId}/messages'].post
$.paths['/threads/{threadId}/messages/{messageId}'].get
$.paths['/threads/{threadId}/messages/{messageId}'].post
$.paths['/threads/{threadId}/messages/{messageId}'].delete
$.paths['/threads/{threadId}/runs'].get
$.paths['/threads/{threadId}/runs'].post
$.paths['/threads/{threadId}/runs/{runId}'].get
$.paths['/threads/{threadId}/runs/{runId}'].post
$.paths['/threads/{threadId}/runs/{runId}/cancel'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Azure AI Threads API
  version: 1.0.0
extends: openapi/azure-ai-foundry-threads-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-18'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 19
- target: $.paths['/threads'].get
  update:
    x-apievangelist-phrasing:
      intent: List my agent threads
      effect: read
      questions:
      - Which agent threads have I created?
      - Can I page through my threads?
      instructions:
      - text: List my agent threads.
      - text: Show {limit} threads ordered {order}.
        slots:
          limit: query.limit
          order: query.order
      method: generated
      generated: '2026-11-18'
- target: $.paths['/threads'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an agent thread
      effect: write
      questions:
      - How do I start a new agent thread?
      - Can I attach initial messages and tools to a thread?
      instructions:
      - text: Create a new agent thread.
      - text: Create a thread with initial messages {messages}.
        slots:
          messages: requestBody.messages
      method: generated
      generated: '2026-11-18'
- target: $.paths['/threads/{threadId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an agent thread
      effect: read
      questions:
      - What is stored in a particular agent thread?
      - Can I fetch one thread by ID?
      instructions:
      - text: Get thread {threadId}.
        slots:
          threadId: path.threadId
      - text: Show the messages and metadata on thread {threadId}.
        slots:
          threadId: path.threadId
      method: generated
      generated: '2026-11-18'
- target: $.paths['/threads/{threadId}'].post
  update:
    x-apievangelist-phrasing:
      intent: Update an agent thread
      effect: write
      questions:
      - Can I change the tools a thread uses?
      - How do I update a thread's metadata?
      instructions:
      - text: Update thread {threadId} with tool resources {tool_resources}.
        slots:
          threadId: path.threadId
          tool_resources: requestBody.tool_resources
      - text: Set metadata {metadata} on thread {threadId}.
        slots:
          metadata: requestBody.metadata
          threadId: path.threadId
      method: generated
      generated: '2026-11-18'
- target: $.paths['/threads/{threadId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an agent thread
      effect: destructive
      questions:
      - How do I delete an agent thread?
      - Can I remove a thread I no longer need?
      instructions:
      - text: Delete thread {threadId}.
        slots:
          threadId: path.threadId
      - text: Remove agent thread {threadId}.
        slots:
          threadId: path.threadId
      method: generated
      generated: '2026-11-18'
- target: $.paths['/threads/{threadId}/messages'].get
  update:
    x-apievangelist-phrasing:
      intent: List messages on a thread
      effect: read
      questions:
      - What messages are in a particular thread?
      - Can I list only the messages a run produced?
      instructions:
      - text: List messages on thread {threadId}.
        slots:
          threadId: path.threadId
      - text: Show messages from run {run_id} on thread {threadId}.
        slots:
          run_id: query.run_id
          threadId: path.threadId
      method: generated
      generated: '2026-11-18'
- target: $.paths['/threads/{threadId}/messages'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a message to a thread
      effect: write
      questions:
      - How do I post a new message to an agent thread?
      - Can I attach files to a thread message?
      instructions:
      - text: Add a {role} message {content} to thread {threadId}.
        slots:
          role: requestBody.role
          content: requestBody.content
          threadId: path.threadId
      - text: Post {content} as a {role} message on thread {threadId} with attachments {attachments}.
        slots:
          content: requestBody.content
          role: requestBody.role
          threadId: path.threadId
          attachments: requestBody.attachments
      method: generated
      generated: '2026-11-18'
- target: $.paths['/threads/{threadId}/messages/{messageId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a message in a thread
      effect: read
      questions:
      - How do I read one message from an Assistant thread?
      - Can I fetch a single message by its message ID?
      instructions:
      - text: Get message {messageId} from thread {threadId}.
        slots:
          messageId: path.messageId
          threadId: path.threadId
      - text: Show the message I sent in thread {threadId}.
        slots:
          threadId: path.threadId
      method: generated
      generated: '2026-11-18'
- target: $.paths['/threads/{threadId}/messages/{messageId}'].post
  update:
    x-apievangelist-phrasing:
      intent: Update a message on a thread
      effect: write
      questions:
      - Can I edit a message that was already posted to a thread?
      - How do I change the metadata on a thread message?
      instructions:
      - text: Update message {messageId} on thread {threadId}.
        slots:
          messageId: path.messageId
          threadId: path.threadId
      - text: Set metadata {metadata} on message {messageId} of thread {threadId}.
        slots:
          metadata: requestBody.metadata
          messageId: path.messageId
          threadId: path.threadId
      method: generated
      generated: '2026-11-18'
- target: $.paths['/threads/{threadId}/messages/{messageId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a message from a thread
      effect: destructive
      questions:
      - How do I remove a message from an agent thread?
      - Can I delete a single thread message?
      instructions:
      - text: Delete message {messageId} from thread {threadId}.
        slots:
          messageId: path.messageId
          threadId: path.threadId
      - text: Remove the message {messageId} on thread {threadId}.
        slots:
          messageId: path.messageId
          threadId: path.threadId
      method: generated
      generated: '2026-11-18'
- target: $.paths['/threads/{threadId}/runs'].get
  update:
    x-apievangelist-phrasing:
      intent: List runs on a thread
      effect: read
      questions:
      - Which runs have been run on a thread?
      - Can I see the run history of a thread?
      instructions:
      - text: List runs on thread {threadId}.
        slots:
          threadId: path.threadId
      - text: Show the last {limit} runs for thread {threadId}.
        slots:
          limit: query.limit
          threadId: path.threadId
      method: generated
      generated: '2026-11-18'
- target: $.paths['/threads/{threadId}/runs'].post
  update:
    x-apievangelist-phrasing:
      intent: Run an agent on a thread
      effect: write
      questions:
      - How do I start an agent running on a thread?
      - Can I override the agent's model or instructions for one run?
      - Can I run a thread and stream the output?
      instructions:
      - text: Run agent {assistant_id} on thread {threadId}.
        slots:
          assistant_id: requestBody.assistant_id
          threadId: path.threadId
      - text: Run agent {assistant_id} on thread {threadId} with model {model} and instructions {instructions}.
        slots:
          assistant_id: requestBody.assistant_id
          threadId: path.threadId
          model: requestBody.model
          instructions: requestBody.instructions
      - text: Run thread {threadId} with additional messages {additional_messages} and stream set to {stream}.
        slots:
          threadId: path.threadId
          additional_messages: requestBody.additional_messages
          stream: requestBody.stream
      method: generated
      generated: '2026-11-18'
- target: $.paths['/threads/{threadId}/runs/{runId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a run in a thread
      effect: read
      questions:
      - How do I check the status of a run on a thread?
      - What did my thread's run do after I submitted it?
      instructions:
      - text: Get run {runId} from thread {threadId}.
        slots:
          runId: path.runId
          threadId: path.threadId
      - text: Check the status of run {runId} on thread {threadId}.
        slots:
          runId: path.runId
          threadId: path.threadId
      method: generated
      generated: '2026-11-18'
- target: $.paths['/threads/{threadId}/runs/{runId}'].post
  update:
    x-apievangelist-phrasing:
      intent: Update a run on a thread
      effect: write
      questions:
      - Can I change the metadata on a run?
      - How do I update a thread run?
      instructions:
      - text: Update run {runId} on thread {threadId}.
        slots:
          runId: path.runId
          threadId: path.threadId
      - text: Set metadata {metadata} on run {runId} of thread {threadId}.
        slots:
          metadata: requestBody.metadata
          runId: path.runId
          threadId: path.threadId
      method: generated
      generated: '2026-11-18'
- target: $.paths['/threads/{threadId}/runs/{runId}/cancel'].post
  update:
    x-apievangelist-phrasing:
      intent: Cancel a run on a thread
      effect: destructive
      questions:
      - How do I stop an agent run that is still in progress?
      - Can I cancel a thread run?
      instructions:
      - text: Cancel run {runId} on thread {threadId}.
        slots:
          runId: path.runId
          threadId: path.threadId
      - text: Stop the in-progress run {runId} for thread {threadId}.
        slots:
          runId: path.runId
          threadId: path.threadId
      method: generated
      generated: '2026-11-18'
- target: $.paths['/threads/{threadId}/runs/{runId}/steps'].get
  update:
    x-apievangelist-phrasing:
      intent: List steps of a run
      effect: read
      questions:
      - What steps did a run go through?
      - Can I see the step details of a thread run?
      instructions:
      - text: List steps of run {runId} on thread {threadId}.
        slots:
          runId: path.runId
          threadId: path.threadId
      - text: Show the first {limit} steps for run {runId} on thread {threadId}.
        slots:
          limit: query.limit
          runId: path.runId
          threadId: path.threadId
      method: generated
      generated: '2026-11-18'
- target: $.paths['/threads/{threadId}/runs/{runId}/steps/{stepId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one step of a run
      effect: read
      questions:
      - What happened in a specific step of a run?
      - Can I fetch a single run step by ID?
      instructions:
      - text: Get step {stepId} of run {runId} on thread {threadId}.
        slots:
          stepId: path.stepId
          runId: path.runId
          threadId: path.threadId
      - text: Show the details of step {stepId} for run {runId} on thread {threadId}.
        slots:
          stepId: path.stepId
          runId: path.runId
          threadId: path.threadId
      method: generated
      generated: '2026-11-18'
- target: $.paths['/threads/{threadId}/runs/{runId}/submit_tool_outputs'].post
  update:
    x-apievangelist-phrasing:
      intent: Submit tool outputs for a run
      effect: write
      questions:
      - How do I give an agent the output of a tool it called?
      - Can I submit tool outputs for a run and stream the result?
      instructions:
      - text: Submit tool outputs {tool_outputs} for run {runId} on thread {threadId}.
        slots:
          tool_outputs: requestBody.tool_outputs
          runId: path.runId
          threadId: path.threadId
      - text: Submit {tool_outputs} to run {runId} on thread {threadId} with stream {stream}.
        slots:
          tool_outputs: requestBody.tool_outputs
          runId: path.runId
          threadId: path.threadId
          stream: requestBody.stream
      method: generated
      generated: '2026-11-18'
- target: $.paths['/threads/runs'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a thread and run an agent on it
      effect: write
      questions:
      - Can I create a thread and start an agent on it in one call?
      - How do I kick off a new agent thread right away?
      instructions:
      - text: Create a thread and run agent {assistant_id} on it.
        slots:
          assistant_id: requestBody.assistant_id
      - text: Create a thread with {thread} and run agent {assistant_id} on it with model {model}.
        slots:
          thread: requestBody.thread
          assistant_id: requestBody.assistant_id
          model: requestBody.model
      method: generated
      generated: '2026-11-18'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/azure-ai-foundry-threads-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.