tracking
Search Request Suggestions
get/api/public/v2/requests/suggestions
Request
- Base URLhttps://docs.promptlayer.com (the document declares no server; this is the origin it was published from)
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
field'engine' | 'provider_type' | 'prompt_id' | 'prompt' | 'tags' | 'metadata_keys' | 'status' | 'tool_names' | 'output_keys' | 'input_variable_keys' | 'metadata_values' | 'output_values' | 'input_variable_values' required
Request log field to get suggestions for.
prefixstring
Case-insensitive prefix to filter suggestions.
metadata_keystring
Required when field is metadata_values, output_values, or input_variable_values. Specifies which key to get values for.
prompt_idinteger
Filter suggestions to a specific prompt template (only used when field is prompt).
filter_groupstring
JSON-encoded filter group to scope suggestions to matching requests.
Response
Autocomplete suggestions.
Changes
No recorded changes to this operation across all 3 revisions of this API.