Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Activity Reports

List Activity Reports

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
limitinteger · int32OptionalDefault: 100
namestring · nullableOptional

The name of the report. Supports wildcard () for partial matches - use * for contains, prefix for starts with, *suffix for ends with

page_tokenstring · nullableOptional
Responses
200

OK

application/json
get/api/admin/v1/activity-reports
GET /api/admin/v1/activity-reports HTTP/1.1
Host: api.apono.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

{
  "items": [
    {
      "id": "text",
      "name": "text",
      "fields": [
        "text"
      ],
      "filters": {
        "requestor_source_ids": [
          "text"
        ],
        "grantee_source_ids": [
          "text"
        ],
        "grantee_identity_types": [
          "text"
        ],
        "integration_ids": [
          "text"
        ],
        "permission_names": [
          "text"
        ],
        "resource_ids": [
          "text"
        ],
        "resource_types": [
          "text"
        ],
        "statuses": [
          "text"
        ],
        "trigger_types": [
          "text"
        ],
        "access_flow_ids": [
          "text"
        ]
      },
      "timeframe": {
        "absolute": {
          "start_date": "2022-03-10T16:15:50Z",
          "end_date": "2022-03-10T16:15:50Z"
        },
        "relative": {
          "last": 1,
          "unit": "text",
          "rounded": true
        }
      },
      "schedule": {
        "cron_expression": "text",
        "recipients": [
          "text"
        ]
      },
      "format": "text",
      "creation_date": "2022-03-10T16:15:50Z",
      "update_date": "2022-03-10T16:15:50Z"
    }
  ],
  "pagination": {
    "next_page_token": "text"
  }
}

Create Activity Report

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
namestringRequired

Display name of the report. Must be unique.

fieldsstring[] · nullableOptional

List of fields to include in the report. Possible values: request_id, request_date, request_grant_date, request_revoke_date, requestor_name, requestor_email, grantee_name, grantee_id, grantee_type, integration, resources, resource_type, permissions, approver_names, approver_emails, approver_types, justification, status, approver_reason, resources_status, trigger_type, access_flow, bundle_name, extension_count.

formatstring · nullableOptional

Format of the report. Possible values: csv, pdf. Default is csv

Responses
200

OK

application/json
idstringRequired

Unique identifier of the report.

namestringRequired

Display name of the report. Must be unique.

fieldsstring[] · nullableOptional

List of fields to include in the report. Possible values: request_id, request_date, request_grant_date, request_revoke_date, requestor_name, requestor_email, grantee_name, grantee_id, grantee_type, integration, resources, resource_type, permissions, approver_names, approver_emails, approver_types, justification, status, approver_reason, resources_status, trigger_type, access_flow, bundle_name, extension_count.

formatstring · nullableOptional

Format of the report. Possible values: csv, pdf. Default is csv

creation_datestring · date-timeRequired

Timestamp when the report was created, in ISO 8601 format

Example: 2022-03-10T16:15:50Z
update_datestring · date-timeRequired

Timestamp when the report was last updated, in ISO 8601 format

Example: 2022-03-10T16:15:50Z
post/api/admin/v1/activity-reports
POST /api/admin/v1/activity-reports HTTP/1.1
Host: api.apono.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 542

{
  "name": "text",
  "fields": [
    "text"
  ],
  "filters": {
    "requestor_source_ids": [
      "text"
    ],
    "grantee_source_ids": [
      "text"
    ],
    "grantee_identity_types": [
      "text"
    ],
    "integration_ids": [
      "text"
    ],
    "permission_names": [
      "text"
    ],
    "resource_ids": [
      "text"
    ],
    "resource_types": [
      "text"
    ],
    "statuses": [
      "text"
    ],
    "trigger_types": [
      "text"
    ],
    "access_flow_ids": [
      "text"
    ]
  },
  "timeframe": {
    "absolute": {
      "start_date": "2022-03-10T16:15:50Z",
      "end_date": "2022-03-10T16:15:50Z"
    },
    "relative": {
      "last": 1,
      "unit": "text",
      "rounded": true
    }
  },
  "schedule": {
    "cron_expression": "text",
    "recipients": [
      "text"
    ]
  },
  "format": "text"
}
200

OK

{
  "id": "text",
  "name": "text",
  "fields": [
    "text"
  ],
  "filters": {
    "requestor_source_ids": [
      "text"
    ],
    "grantee_source_ids": [
      "text"
    ],
    "grantee_identity_types": [
      "text"
    ],
    "integration_ids": [
      "text"
    ],
    "permission_names": [
      "text"
    ],
    "resource_ids": [
      "text"
    ],
    "resource_types": [
      "text"
    ],
    "statuses": [
      "text"
    ],
    "trigger_types": [
      "text"
    ],
    "access_flow_ids": [
      "text"
    ]
  },
  "timeframe": {
    "absolute": {
      "start_date": "2022-03-10T16:15:50Z",
      "end_date": "2022-03-10T16:15:50Z"
    },
    "relative": {
      "last": 1,
      "unit": "text",
      "rounded": true
    }
  },
  "schedule": {
    "cron_expression": "text",
    "recipients": [
      "text"
    ]
  },
  "format": "text",
  "creation_date": "2022-03-10T16:15:50Z",
  "update_date": "2022-03-10T16:15:50Z"
}

Get Activity Report

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
200

OK

application/json
idstringRequired

Unique identifier of the report.

namestringRequired

Display name of the report. Must be unique.

fieldsstring[] · nullableOptional

List of fields to include in the report. Possible values: request_id, request_date, request_grant_date, request_revoke_date, requestor_name, requestor_email, grantee_name, grantee_id, grantee_type, integration, resources, resource_type, permissions, approver_names, approver_emails, approver_types, justification, status, approver_reason, resources_status, trigger_type, access_flow, bundle_name, extension_count.

formatstring · nullableOptional

Format of the report. Possible values: csv, pdf. Default is csv

creation_datestring · date-timeRequired

Timestamp when the report was created, in ISO 8601 format

Example: 2022-03-10T16:15:50Z
update_datestring · date-timeRequired

Timestamp when the report was last updated, in ISO 8601 format

Example: 2022-03-10T16:15:50Z
get/api/admin/v1/activity-reports/{id}
GET /api/admin/v1/activity-reports/{id} HTTP/1.1
Host: api.apono.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

{
  "id": "text",
  "name": "text",
  "fields": [
    "text"
  ],
  "filters": {
    "requestor_source_ids": [
      "text"
    ],
    "grantee_source_ids": [
      "text"
    ],
    "grantee_identity_types": [
      "text"
    ],
    "integration_ids": [
      "text"
    ],
    "permission_names": [
      "text"
    ],
    "resource_ids": [
      "text"
    ],
    "resource_types": [
      "text"
    ],
    "statuses": [
      "text"
    ],
    "trigger_types": [
      "text"
    ],
    "access_flow_ids": [
      "text"
    ]
  },
  "timeframe": {
    "absolute": {
      "start_date": "2022-03-10T16:15:50Z",
      "end_date": "2022-03-10T16:15:50Z"
    },
    "relative": {
      "last": 1,
      "unit": "text",
      "rounded": true
    }
  },
  "schedule": {
    "cron_expression": "text",
    "recipients": [
      "text"
    ]
  },
  "format": "text",
  "creation_date": "2022-03-10T16:15:50Z",
  "update_date": "2022-03-10T16:15:50Z"
}

Update Activity Report

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Body
namestringRequired

Display name of the report. Must be unique.

fieldsstring[] · nullableOptional

List of fields to include in the report. Possible values: request_id, request_date, request_grant_date, request_revoke_date, requestor_name, requestor_email, grantee_name, grantee_id, grantee_type, integration, resources, resource_type, permissions, approver_names, approver_emails, approver_types, justification, status, approver_reason, resources_status, trigger_type, access_flow, bundle_name, extension_count.

formatstring · nullableOptional

Format of the report. Possible values: csv, pdf. Default is csv

Responses
200

OK

application/json
idstringRequired

Unique identifier of the report.

namestringRequired

Display name of the report. Must be unique.

fieldsstring[] · nullableOptional

List of fields to include in the report. Possible values: request_id, request_date, request_grant_date, request_revoke_date, requestor_name, requestor_email, grantee_name, grantee_id, grantee_type, integration, resources, resource_type, permissions, approver_names, approver_emails, approver_types, justification, status, approver_reason, resources_status, trigger_type, access_flow, bundle_name, extension_count.

formatstring · nullableOptional

Format of the report. Possible values: csv, pdf. Default is csv

creation_datestring · date-timeRequired

Timestamp when the report was created, in ISO 8601 format

Example: 2022-03-10T16:15:50Z
update_datestring · date-timeRequired

Timestamp when the report was last updated, in ISO 8601 format

Example: 2022-03-10T16:15:50Z
put/api/admin/v1/activity-reports/{id}
PUT /api/admin/v1/activity-reports/{id} HTTP/1.1
Host: api.apono.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 542

{
  "name": "text",
  "fields": [
    "text"
  ],
  "filters": {
    "requestor_source_ids": [
      "text"
    ],
    "grantee_source_ids": [
      "text"
    ],
    "grantee_identity_types": [
      "text"
    ],
    "integration_ids": [
      "text"
    ],
    "permission_names": [
      "text"
    ],
    "resource_ids": [
      "text"
    ],
    "resource_types": [
      "text"
    ],
    "statuses": [
      "text"
    ],
    "trigger_types": [
      "text"
    ],
    "access_flow_ids": [
      "text"
    ]
  },
  "timeframe": {
    "absolute": {
      "start_date": "2022-03-10T16:15:50Z",
      "end_date": "2022-03-10T16:15:50Z"
    },
    "relative": {
      "last": 1,
      "unit": "text",
      "rounded": true
    }
  },
  "schedule": {
    "cron_expression": "text",
    "recipients": [
      "text"
    ]
  },
  "format": "text"
}
200

OK

{
  "id": "text",
  "name": "text",
  "fields": [
    "text"
  ],
  "filters": {
    "requestor_source_ids": [
      "text"
    ],
    "grantee_source_ids": [
      "text"
    ],
    "grantee_identity_types": [
      "text"
    ],
    "integration_ids": [
      "text"
    ],
    "permission_names": [
      "text"
    ],
    "resource_ids": [
      "text"
    ],
    "resource_types": [
      "text"
    ],
    "statuses": [
      "text"
    ],
    "trigger_types": [
      "text"
    ],
    "access_flow_ids": [
      "text"
    ]
  },
  "timeframe": {
    "absolute": {
      "start_date": "2022-03-10T16:15:50Z",
      "end_date": "2022-03-10T16:15:50Z"
    },
    "relative": {
      "last": 1,
      "unit": "text",
      "rounded": true
    }
  },
  "schedule": {
    "cron_expression": "text",
    "recipients": [
      "text"
    ]
  },
  "format": "text",
  "creation_date": "2022-03-10T16:15:50Z",
  "update_date": "2022-03-10T16:15:50Z"
}

Delete Activity Report

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
200

OK

application/json
messagestringRequired
delete/api/admin/v1/activity-reports/{id}
DELETE /api/admin/v1/activity-reports/{id} HTTP/1.1
Host: api.apono.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

{
  "message": "text"
}

Last updated

Was this helpful?