GroundsocialDocs

API · Utility

GET /utility/plan

A task in plain words turned into a chain of calls, with inputs filled in and a cost estimate.

RequestGET /v1/utility/plan
Operation idutility.plan.get
CostFree
AuthNone.

A task in plain words turned into a chain of calls, with inputs filled in and a cost estimate.

Query parameters

NameTypeRequiredDescription
taskstringnoWhat you want, in plain words. Example: get the comments on https://www.youtube.com/watch?v=dQw4w9WgXcQ.
querystringnoSame as task.

Responses

StatusMeaningSchema
200The plan: steps, missing inputs, total cost.
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404No such endpoint, recipe or platform.Error
429Too many requests. Wait for Retry-After seconds.Error
503Utility is temporarily unavailable. Retryable; nothing was charged.Error

Errors use one shape everywhere; see Errors for every code and what to do.