{"schema":"https://textmine.com/schemas/third-party-agent-discovery/v1","schemaVersion":"2026-06-06","serviceName":"TextMine Third-Party Agent API","available":true,"message":"Third-party agent signup is available for this tenant.","signupRequiresAuthentication":false,"signupRequiresHumanVerification":false,"signupMethod":"POST","signupUrl":"/v3/third-party-agents/signup/self-service","requiredSignupFields":["organizationName","agentName","contactEmail","acceptedTerms","acceptedPrivacy","credentialDeliveryPublicKey"],"optionalSignupFields":["credentialDeliveryAlgorithm"],"requiredAcceptances":["acceptedTerms","acceptedPrivacy"],"termsUrl":"https://www.textmine.com/terms","privacyUrl":"https://www.textmine.com/privacy","termsVersion":"2026-06-06","privacyVersion":"2026-06-06","freeCreditsPerPeriod":100,"currency":"usd","documentProcessedCredits":10,"workflowExecutionCredits":5,"workbenchTaskCredits":10,"agentTaskCredits":10,"overageCentsPerCredit":10,"authentication":{"type":"api_key","header":"Authorization","format":"Bearer tm_<key>","alternateHeader":"X-TextMine-Api-Key: tm_<key>","credentialDelivery":"Send credentialDeliveryPublicKey on signup. The response encryptedApiKey is RSA-OAEP-256 ciphertext encoded as base64.","note":"The trusted agent runtime decrypts and stores the API key outside model context; the model should only see credentialRef/apiKeyPrefix metadata. apiKeyPrefix is a display prefix that includes the tm_ prefix."},"endpoints":{"discovery":"/.well-known/textmine-agent.json","signupDiscovery":"/v3/third-party-agents/signup/discovery","signupAvailability":"/v3/third-party-agents/signup/availability","signup":"/v3/third-party-agents/signup/self-service","billingStatus":"/v3/agent-billing/status","billingCheckout":"/v3/agent-billing/checkout","billingPortal":"/v3/agent-billing/portal","documentTypes":"/v3/document-types","documents":"/v3/documents","vaults":"/v3/vaults","createVault":"POST /v3/vaults","workflows":"/v3/workflows","agents":"/v3/agents","records":"/v3/record-schemas","workbench":"/workbench","mcp":"/mcp"},"mcp":{"transport":"streamable-http","url":"/mcp","authorization":"Authorization: Bearer tm_<key>","alternateAuthorization":"X-TextMine-Api-Key: tm_<key>","applicationHeader":"X-TextMine-Application","application":"copilot-studio","sessionHeader":"mcp-session-id","handshake":"POST initialize first, keep the returned mcp-session-id header, send notifications/initialized, then call tools/list or tools/call."},"setupChecklist":[{"key":"terms_privacy","title":"Accept terms and privacy notice","status":"ACTION_REQUIRED","requiredBeforeDocumentProcessing":true,"description":"Terms and privacy acceptance is required before provisioning an agent service account.","actionLabel":"Tick both acceptance boxes on signup.","actionUrl":"https://www.textmine.com/terms"},{"key":"vault","title":"Create or select a vault","status":"ACTION_REQUIRED","requiredBeforeDocumentProcessing":true,"description":"Documents need a vault context for storage, extraction, permissions, and downstream routing.","actionLabel":"Call POST /v3/vaults with a name to create the first vault.","actionUrl":"/v3/vaults"},{"key":"document_types","title":"Configure document types and extraction questions","status":"ACTION_REQUIRED","requiredBeforeDocumentProcessing":true,"description":"Typed document processing depends on configured document types, default tags, and extraction questions.","actionLabel":"After a vault exists, create document types/default tags before uploading typed documents.","actionUrl":"/v3/document-types"},{"key":"playbooks","title":"Configure playbooks before running reviews","status":"NOT_CONFIGURED","requiredBeforeDocumentProcessing":false,"description":"Playbooks are optional unless the agent will review, redline, or apply playbook rules.","actionLabel":"Create and enable a playbook before invoking playbook review.","actionUrl":"/playbook"},{"key":"workflows","title":"Create workflows before invoking workflow automation","status":"OPTIONAL","requiredBeforeDocumentProcessing":false,"description":"Workflow execution requires an existing workflow or an ad hoc workflow request.","actionLabel":"Create or select a workflow before execution.","actionUrl":"/v3/workflows"},{"key":"agent_tasks","title":"Create task instructions before using task agents","status":"OPTIONAL","requiredBeforeDocumentProcessing":false,"description":"Task agents need enough instructions, source documents, tools, and output expectations.","actionLabel":"Create an agent/task with clear instructions and required context.","actionUrl":"/v3/agents"}]}