I am trying to use the search endpoint but I am not too sure how to get the build_trigger_id
.
Could someone maybe expand on what it is and how where to get it from? I know it is mentioned in the documentation but for me it wasnât too clear.
Making the following request:
https://site-api.datocms.com/search-results?q=search&build_trigger_id=main
Outputs the following error:
{
"data": [
{
"id": "426176",
"type": "api_error",
"attributes": {
"code": "INVALID_DEPLOYMENT_ENVIRONMENT",
"details": {}
}
}
]
}
Any help on this would be much appreciated!