
Skill
foundry-conversations
manage persistent conversations via Foundry
Description
Manage persistent conversations via Foundry Conversations API. Create conversations, add messages, and maintain history across sessions.
SKILL.md
Foundry Conversations — Persistent Conversation Management
You can create and manage persistent conversations via the Foundry Conversations API. Conversations store message history server-side, enabling multi-turn interactions that survive session boundaries.
Endpoint
All requests: http://localhost:8443 with ?api-version=2025-11-15-preview. Auth is automatic.
Operations
Create a conversation
curl -s -X POST 'http://localhost:8443/openai/conversations?api-version=2025-11-15-preview' \
-H 'Content-Type: application/json' \
-d '{"metadata":{"user":"user-123","topic":"onboarding"}}'
Returns {"id":"conv_abc123","object":"conversation",...}.
Add messages to a conversation
curl -s -X POST 'http://localhost:8443/openai/conversations/conv_abc123/items?api-version=2025-11-15-preview' \
-H 'Content-Type: application/json' \
-d '{"items":[{"type":"message","role":"user","content":[{"type":"input_text","text":"Hello!"}]}]}'
List conversations
curl -s 'http://localhost:8443/openai/conversations?api-version=2025-11-15-preview'
Generate a response in a conversation context
curl -s -X POST 'http://localhost:8443/openai/responses?api-version=2025-11-15-preview' \
-H 'Content-Type: application/json' \
-d '{"model":"gpt-4.1","input":"What did we discuss?","conversation":"conv_abc123"}'
Delete a conversation
curl -s -X DELETE 'http://localhost:8443/openai/conversations/conv_abc123?api-version=2025-11-15-preview'
When to use
- Multi-turn conversations where server-side history is needed
- Building chat applications with conversation persistence
- When you need to reference previous messages by conversation ID
When NOT to use
- For stateless one-off queries (use /v1/chat/completions)
- For long-term user preferences (use foundry-memory skill)
More skills from the kars repository
View all 11 skillsagt-governance
enforce behavioral governance for agents
Jul 12AgentsAuditAzureGovernance +1foundry-agents
inspect and invoke Foundry prompt agents
Jul 12AgentsAPI DevelopmentAzurefoundry-code
execute Python code in Azure Foundry
Jul 12AzureChartsData AnalysisData Visualization +2foundry-deployments
query Foundry model deployments and infrastructure
Jul 12AzureInfrastructureLLMfoundry-evaluations
evaluate agent quality with Foundry Evals
Jul 12AzureEvalsLLMOpenAIfoundry-knowledge
retrieve knowledge via Foundry RAG
Jul 12AzureKnowledge ManagementResearchSearch
More from Azure (Microsoft)
View publisherazure-arg-external-evaluation-policy-author
author and test Azure Resource Graph policies
azure-policy
Jul 12AzureComplianceGovernancePolicyazure-blueprints-migration
migrate Azure Blueprints to Template Specs
azure-blueprints
Jul 12AzureDeploymentInfrastructure as CodeMigrationapiview-feedback-resolution
resolve APIView feedback on Azure SDKs
azure-sdk-tools
Jul 12API DevelopmentAzureCode ReviewDocumentationazsdk-common-live-and-recorded-tests
deploy resources and run Azure SDK tests
azure-sdk-tools
Jul 12AzureDeploymentSDKTestingazsdk-common-prepare-release-plan
manage Azure SDK release plan work items
azure-sdk-tools
Jul 12AzureGitHubProject ManagementSDKazsdk-common-sdk-release
release Azure SDK packages
azure-sdk-tools
Jul 12AzureCI/CDDeploymentSDK