capabilities.work

MobileAPI AI Query with Account Check

A 3-step recipe with MobileAPI.dev. We can help you get access.

Recipe · 3 steps

MobileAPI AI Query with Account Check

Check the account, run an AI natural-language query, and read the top match.

  1. Introspect the caller's account before spending an AI query, confirming the supplied API key authenticates successfully.
  2. Submit the natural-language query to the AI-powered endpoint. Returns 200 with results on a paid plan, or 403 when a paid plan is required.
  3. Read the full device record for the top AI-query result so the caller gets the complete specification block for the best match.
What you'll need to have ready
  • apiKey: MobileAPI key, sent in the Authorization header as 'Token <apiKey>'.
  • query: Natural-language query (e.g. 'top 5 devices with most RAM').
For your developer

Arazzo workflow mobileapi-dev:ai-query-with-account-check, 3 operations: me_list → devices_ai_query → devices_read. Specs on APIs.io.