Task sessions

Progressive or full capability selection. Charges the published resolve price (/api/v1/pricing) when billing is on and needs a key with read + requests:write; data.economics reports chargedCredits and creditsRemaining. For an intent, each result has match (exact, strong or weak) and confidence (share of the intent's specific terms matched, 0 to 1); data.match_quality is strong, no_strong_match or none, with a message when nothing strong fits. session_id also requires request_id

post/api/v1/capabilities/resolve

Request

  • Base URL: https://api.daystruct.ai
  • URL: https://api.daystruct.ai/api/v1/capabilities/resolve
  • Auth: one of:
    • none
    • HTTP bearer

Request body

session_idstring
request_idstring
intentstring
capabilitiesstring[]
bundle_idstring
delivery'progressive' | 'full'
limitinteger
include_repeatboolean
include_consideredboolean

Return every considered reference. By default the response carries considered_count, at most 5 deferred entries and deferred_count.

maxPriceCreditsinteger

Optional. The most this call may charge, in credits. Without it, only the API key limit applies (none unless the account owner set one). The price is in /api/v1/pricing.

Response

Task context or selected capability descriptors in a data envelope

Changes

No recorded changes to this operation across all 2 revisions of this API.