Transactions
Access transactions metrics.
Transactions metrics are always related to a project. This means that all endpoints have the same root so it could be helpful to wrap your api call under the same base URI:
https://app.inspector.dev
/api/apps/:id
Transactions List
POST
http://app.inspector.dev/api/apps/:id/transactions
Get the list of transactions in the given interval.
Path Parameters
Name | Type | Description |
---|---|---|
id* | Integer | Project's identifier |
Headers
Name | Type | Description |
---|---|---|
Authentication* | string | API key |
Request Body
Name | Type | Description |
---|---|---|
filter.start* | Date | ISO-8601 date format |
filter.end | Date | ISO-8601 date format |
filter.hosts | Array | Filter the transactions list by servers |
filter.query_string | String | Filter by transaction's name |
Transaction occurrences
POST
http://app.inspector.dev/api/apps/:id/transactions/:group_hash/occurrences
Get the last occurrences of a specific transaction.
Path Parameters
Name | Type | Description |
---|---|---|
id* | Integer | Project's Identifier |
group_hash* | String | The transaction group's identifier |
Query Parameters
Name | Type | Description |
---|---|---|
filter.start* | Date | ISO-8601 date format |
filter.end | Date | ISO-8601 date format |
filter.from | Integer | The results are paginated 25 elements at a time. Use from to advance the starting point of the list. |
Headers
Name | Type | Description |
---|---|---|
Authentication* | String | API key |
Performance Distribution
POST
http://app.inspector.dev/api/apps/:id/transactions/:group_hash/time-distribution
Performance distribution of a specific transaction.
Path Parameters
Name | Type | Description |
---|---|---|
id* | integer | Project's identifier |
group_hash* | String | Transaction group's identifier |
Headers
Name | Type | Description |
---|---|---|
Authentication* | string | API key |
Request Body
Name | Type | Description |
---|---|---|
filter.start* | Date | ISO-8601 date format |
filter.end | Date | ISO-8601 date format |
You can get the group_hash value of a specific transaction in the address bar of your browser navigating the detail page of the transaction of your interest.
Last updated