Exception
Create Exception
Endpoint to create a new Exception
post/telemetry-exception
Request
- Base URLhttps://oneuptime.com/api
- AuthAPI key in header APIKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"data": {
"projectId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"primaryEntityId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
}
}Response
Created successfully
Example response
{
"data": {
"_id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"createdAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"updatedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"deletedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"project": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"projectId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"primaryEntityId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"primaryEntityType": "Example Text",
"message": "This is an example of longer text content that provides detailed information.",
"stackTrace": "This is an example of longer text content that provides detailed information.",
"exceptionType": "This is an example of longer text content that provides detailed information.",
"fingerprint": "Example Text",
"createdByUser": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"createdByUserId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"deletedByUser": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"deletedByUserId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"markedAsResolvedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"markedAsArchivedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"firstSeenAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"lastSeenAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"assignToUser": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"assignToUserId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"assignToTeam": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"assignToTeamId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"markedAsResolvedByUser": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"markedAsResolvedByUserId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"markedAsArchivedByUser": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"markedAsArchivedByUserId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"isResolved": true,
"isArchived": true,
"occuranceCount": 42,
"firstSeenInRelease": "This is an example of longer text content that provides detailed information.",
"lastSeenInRelease": "This is an example of longer text content that provides detailed information.",
"environment": "This is an example of longer text content that provides detailed information.",
"unhandled": true,
"aiClassification": "Example Text",
"errorClass": "Example Text",
"errorClassSource": "Example Text",
"aiFixDeclinedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"regressedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"resolvedInReleaseAfter": "This is an example of longer text content that provides detailed information.",
"aiExplanation": {
"key": "value",
"nested": {
"data": 123
}
},
"aiExplanationGeneratedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"mergedIntoTelemetryException": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"mergedIntoTelemetryExceptionId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"mergedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"mergedByUser": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"mergedByUserId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.