get_guides
get_guidesList user's guides
Returns a list of guides for the authenticated user.
Use query to check whether a guide already exists before creating one
(creating a duplicate costs credits). Beware of two behaviours of this endpoint:
queryandgroupare case-insensitive REGULAR EXPRESSIONS, not exact matches: special characters in the value are interpreted as regex syntax, and an invalid regex returns no result at all. (statusis different: a known status is matched exactly, any other value falls back to a regex.) Always compare the returnedqueryandsourceyourself, and fall back to an unfiltered paginated scan before concluding that nothing exists;totalCountdoes NOT takequerynorgroupinto account (known limitation: both are applied as application-level regexes that the count query does not know, so it returns 0 as soon as either is used, alone or combined withstatus). Filtering onstatusalone does give a correcttotalCount, since it is a real stored field. For an existence check, trust theguidesactually returned;totalCountis only reliable for paginating a listing filtered bystatusalone, or not filtered at all.
An empty result is returned as a 404 with success: false and
error: "No guides returned", not as an empty list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination | |
| group | No | Filter on the guide group. Case-insensitive partial match, interpreted as a regular expression. | |
| query | No | Filter on the guide query. Case-insensitive partial match, interpreted as a regular expression (see the endpoint description). | |
| status | No | Filter on the guide status. Exact match when the value is one of the known statuses, otherwise a case-insensitive regular expression. | |
| pageSize | No | Number of guides per page |