---
title: "Action Search API"
method: POST
path: "/access/v1/search/action"
tags: ["authzen"]
---

# Action Search API

`POST /access/v1/search/action`

## Request

- Base URL: `{{.Scheme}}://{{.Host}}`
- URL: `{{.Scheme}}://{{.Host}}/access/v1/search/action`
- Auth: API key in header `authorization` and API key in header `aserto-tenant-id`
- TypeScript: <https://skmtc.dev/aserto/apis/directory/docs/access/v1/search/action/post.ts> (a function with typed inputs; its response is checked against the schema)

TBD.

## Request body

- V1ActionSearchRequest
  - `action` V1Action
    - `name` string
    - `properties` object
  - `context` object
  - `page` V1Page
    - `next_token` string
  - `resource` V1Resource
    - `id` string
    - `properties` object
    - `type` string
  - `subject` V1Subject
    - `id` string
    - `properties` object
    - `type` string

## Response `200`

A successful response.

- V1ActionSearchResponse
  - `page` V1Page
    - `next_token` string
  - `results` V1Action[]
    - `name` string
    - `properties` object

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `500`: Internal error
- `default`: An unexpected error response.

## Changes

- **2025-02-28** `710d78625171`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/aserto/apis/directory/changes/access/v1/search/action/post.md)

---

[API](https://skmtc.dev/aserto/apis/directory.md) - [All operations](https://skmtc.dev/aserto/apis/directory/llms.txt) - [OpenAPI document](https://skmtc.dev/aserto/apis/directory/revisions/b7dd5665d9f0?raw)
