Learn how to create and use safe, access controlled api keys with Trieve
role
field with the value 0
in your request.
expires_at
field with the time in the future that the API key should expire in your request. This field accepts only ISO 8601 formatted dates.
organization_ids
field with the organization IDs that the API key should have access to in your request.
dataset_ids
field with the dataset IDs that the API key should have access to in your request.
default_params
field in your request. This filter will be applied to all requests made with this API key.
You can use this to restrict access to data with more granularity than just dataset or organization.