> ## Documentation Index
> Fetch the complete documentation index at: https://docs.specterops.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Mythic_rpc_payload_search

> Search payloads



## AsyncAPI

````yaml mythic-docs/mythicrpc/mythicrpc-asyncapi.yaml mythic_rpc_payload_search
id: mythic_rpc_payload_search
title: Mythic_rpc_payload_search
description: Search payloads
servers:
  - id: development
    protocol: amqp
    host: mythic-rabbitmq:5672
    bindings: []
    variables: []
address: mythic_rpc_payload_search
parameters: []
bindings: []
operations:
  - &ref_2
    id: sendPayloadSearch
    title: Send payload search
    description: Send payload search request
    type: send
    messages:
      - &ref_4
        id: PayloadSearchRequest
        contentType: application/json
        payload:
          - name: Payload Search Request
            description: Search for payloads
            type: object
            properties:
              - name: payload_uuid
                type: string
                description: Specific payload UUID
                required: false
              - name: callback_id
                type: integer
                description: Associated callback ID for scoping
                required: false
              - name: payload_type
                type: string
                description: Filter by payload type
                required: false
              - name: filename
                type: string
                description: Filter by filename
                required: false
        headers: []
        jsonPayloadSchema:
          type: object
          description: Search for payloads
          properties:
            payload_uuid:
              type: string
              format: uuid
              description: Specific payload UUID
              default: ''
              x-parser-schema-id: <anonymous-schema-138>
            callback_id:
              type: integer
              description: Associated callback ID for scoping
              default: 0
              x-parser-schema-id: <anonymous-schema-139>
            payload_type:
              type: string
              description: Filter by payload type
              default: ''
              x-parser-schema-id: <anonymous-schema-140>
            filename:
              type: string
              description: Filter by filename
              default: ''
              x-parser-schema-id: <anonymous-schema-141>
          x-parser-schema-id: PayloadSearchPayload
        title: Payload Search Request
        description: Search for payloads
        example: |-
          {
            "payload_uuid": "<string>",
            "callback_id": 123,
            "payload_type": "<string>",
            "filename": "<string>"
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: PayloadSearchRequest
    bindings: []
    extensions: &ref_0
      - id: x-parser-unique-object-id
        value: mythic_rpc_payload_search
  - &ref_1
    id: receivePayloadSearchResponse
    title: Receive payload search response
    description: Receive payload search response
    type: receive
    messages:
      - &ref_3
        id: PayloadSearchResponse
        contentType: application/json
        payload:
          - name: Payload Search Response
            description: Response for payload search operation
            type: object
            properties:
              - name: success
                type: boolean
                description: Operation success status
                required: true
              - name: error
                type: string
                description: Error message if success is false
                required: false
              - name: payloads
                type: array
                description: Array of payload objects
                required: false
                properties:
                  - name: uuid
                    type: string
                    required: false
                  - name: description
                    type: string
                    required: false
                  - name: payload_type
                    type: string
                    required: false
                  - name: filename
                    type: string
                    required: false
                  - name: creation_time
                    type: string
                    required: false
                  - name: build_phase
                    type: string
                    enumValues:
                      - success
                      - error
                      - building
                    required: false
        headers: []
        jsonPayloadSchema:
          type: object
          properties:
            success:
              type: boolean
              description: Operation success status
              default: true
              x-parser-schema-id: <anonymous-schema-142>
            error:
              type: string
              description: Error message if success is false
              default: ''
              x-parser-schema-id: <anonymous-schema-143>
            payloads:
              type: array
              description: Array of payload objects
              default: []
              items:
                type: object
                properties:
                  uuid:
                    type: string
                    format: uuid
                    default: ''
                    x-parser-schema-id: <anonymous-schema-146>
                  description:
                    type: string
                    default: ''
                    x-parser-schema-id: <anonymous-schema-147>
                  payload_type:
                    type: string
                    default: ''
                    x-parser-schema-id: <anonymous-schema-148>
                  filename:
                    type: string
                    default: ''
                    x-parser-schema-id: <anonymous-schema-149>
                  creation_time:
                    type: string
                    format: date-time
                    default: '2024-01-01T00:00:00Z'
                    x-parser-schema-id: <anonymous-schema-150>
                  build_phase:
                    type: string
                    enum:
                      - success
                      - error
                      - building
                    default: success
                    x-parser-schema-id: <anonymous-schema-151>
                x-parser-schema-id: <anonymous-schema-145>
              x-parser-schema-id: <anonymous-schema-144>
          required:
            - success
          x-parser-schema-id: PayloadSearchResponsePayload
        title: Payload Search Response
        description: Response for payload search operation
        example: |-
          {
            "success": true,
            "error": "<string>",
            "payloads": {
              "uuid": "<string>",
              "description": "<string>",
              "payload_type": "<string>",
              "filename": "<string>",
              "creation_time": "<string>",
              "build_phase": "<string>"
            }
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: PayloadSearchResponse
    bindings: []
    extensions: *ref_0
sendOperations:
  - *ref_1
receiveOperations:
  - *ref_2
sendMessages:
  - *ref_3
receiveMessages:
  - *ref_4
extensions:
  - id: x-parser-unique-object-id
    value: mythic_rpc_payload_search
securitySchemes: []

````