List event subscriptions where this model is the source
GET
/v2/models/{model_id}/event-subscriptions
const url = 'https://pie.streamline.enterprises/v2/models/model_price_reco_v1/event-subscriptions';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://pie.streamline.enterprises/v2/models/model_price_reco_v1/event-subscriptions \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” model_id
required
string
Example
model_price_reco_v1Responses
Section titled “ Responses ”List of event subscriptions
Media type application/json
Array<object>
object
id
required
string format: uuid
source_model_id
required
string
trigger_event
required
string
target_model_id
required
string
target_action
required
string
input_source
required
string
input
object
label
string
status
required
string
created_at
required
string format: date-time
updated_at
required
string format: date-time
warnings
Present when the server detected issues that did not block the operation (e.g. stored subscription input did not validate against the target model’s handler input_schema). Omitted or empty when there are no warnings.
Array<string>
Example
[ { "trigger_event": "training_complete", "target_action": "inference", "input_source": "stored", "status": "active" }]Missing or invalid Authorization bearer token, expired token, or token rejected by the
authorization layer (e.g. API Gateway JWT authorizer or application validation).
Media type application/json
object
success
required
boolean
message
required
Human-readable error message
string
Example
{ "success": false}Authenticated caller lacks the permission required for this operation.
Media type application/json
object
success
required
boolean
message
required
Human-readable error message
string
Example
{ "success": false}Requested resource was not found.
Media type application/json
object
success
required
boolean
message
required
Human-readable error message
string
Example
{ "success": false}