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

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Search prequalifications

> To list pre-qualification invitations (a separate surface from tenders and announcements).

## Request contract

* **Method and path:** POST /apis/v1/tenders-etimad-sa/public-procurement-tenders/search-prequalifications
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/tenders-etimad-sa/public-procurement-tenders/search-prequalifications`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/tenders-etimad-sa.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "tenders-etimad-sa.public-procurement-tenders.search-prequalifications",
  "method": "POST",
  "path": "/apis/v1/tenders-etimad-sa/public-procurement-tenders/search-prequalifications",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "examples": {
          "provider": {
            "summary": "Official provider example; checked against AIsa request constraints",
            "value": {
              "page_size": 6,
              "query": "إعاشة"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "activity_id": {
              "description": "activity_id\n\nProvider reference: minimum 1.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "min": 1
              }
            },
            "agency_code": {
              "description": "Pattern: ^[0-9]{12}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "area_ids": {
              "description": "area_ids",
              "items": {
                "type": "number"
              },
              "type": "array",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "page": {
              "default": 1,
              "description": "1-based page number. The response reports the total and the runner's `next_cursor` carries the next page number.\n\nProvider reference: minimum 1; default 1.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "min": 1
              }
            },
            "page_size": {
              "default": 12,
              "description": "Rows per page, 1-24 (the server caps every page at 24 rows).\n\nProvider reference: minimum 1; maximum 24; default 12.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 24,
                "min": 1
              }
            },
            "query": {
              "description": "TenderName keyword.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "reference_number": {
              "description": "Pattern: ^[0-9]{10,12}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "sub_activity_id": {
              "description": "sub_activity_id\n\nProvider reference: minimum 1.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "min": 1
              }
            },
            "tender_status_id": {
              "description": "tender_status_id\n\nProvider reference: minimum 1.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "min": 1
              }
            },
            "tender_type_id": {
              "description": "tender_type_id\n\nProvider reference: minimum 1.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "min": 1
              }
            }
          },
          "type": "object"
        }
      }
    },
    "required": false
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Usage-based pricing. Default request estimate: \$0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi/tenders-etimad-sa.json POST /apis/v1/tenders-etimad-sa/public-procurement-tenders/search-prequalifications
openapi: 3.1.0
info:
  description: ''
  title: Etimad tenders (tenders.etimad.sa)
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    tenders-etimad-sa:
      description: ''
      title: Etimad tenders (tenders.etimad.sa)
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: e4378c8f3f44c31a165361a76bb0d33f38351ec10d3f814a92f451a06afc13e2
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/tenders-etimad-sa/public-procurement-tenders/get-tender
    - /apis/v1/tenders-etimad-sa/public-procurement-tenders/list-lookups
    - /apis/v1/tenders-etimad-sa/public-procurement-tenders/search-announcements
    - >-
      /apis/v1/tenders-etimad-sa/public-procurement-tenders/search-future-projects
    - >-
      /apis/v1/tenders-etimad-sa/public-procurement-tenders/search-prequalifications
    - /apis/v1/tenders-etimad-sa/public-procurement-tenders/search-tenders
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:4c2cef2700f3ce724a29d52f531fe812b61f565701cf249765abc16cc47f5bd7
    facts_hash: e4378c8f3f44c31a165361a76bb0d33f38351ec10d3f814a92f451a06afc13e2
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: tenders-etimad-sa
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/tenders-etimad-sa/public-procurement-tenders/search-prequalifications:
    post:
      tags:
        - Etimad tenders (tenders.etimad.sa)
      summary: Search prequalifications
      description: >-
        To list pre-qualification invitations (a separate surface from tenders
        and announcements).
      operationId: tenders-etimad-sa.public-procurement-tenders.search-prequalifications
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  page_size: 6
                  query: إعاشة
            schema:
              additionalProperties: true
              properties:
                activity_id:
                  description: |-
                    activity_id

                    Provider reference: minimum 1.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    min: 1
                agency_code:
                  description: 'Pattern: ^[0-9]{12}$.'
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                area_ids:
                  description: area_ids
                  items:
                    type: number
                  type: array
                  x-alexandria-option-metadata:
                    in: body
                page:
                  default: 1
                  description: >-
                    1-based page number. The response reports the total and the
                    runner's `next_cursor` carries the next page number.


                    Provider reference: minimum 1; default 1.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    min: 1
                page_size:
                  default: 12
                  description: |-
                    Rows per page, 1-24 (the server caps every page at 24 rows).

                    Provider reference: minimum 1; maximum 24; default 12.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 24
                    min: 1
                query:
                  description: TenderName keyword.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                reference_number:
                  description: 'Pattern: ^[0-9]{10,12}$.'
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                sub_activity_id:
                  description: |-
                    sub_activity_id

                    Provider reference: minimum 1.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    min: 1
                tender_status_id:
                  description: |-
                    tender_status_id

                    Provider reference: minimum 1.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    min: 1
                tender_type_id:
                  description: |-
                    tender_type_id

                    Provider reference: minimum 1.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    min: 1
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-04.
                  summary: Official provider example
                  value:
                    count: 6
                    observed_at_ms: 1791131884287
                    page: 1
                    page_size: 6
                    prequalifications:
                      - activity_description: >-
                          توريد وتقديم خدمات الإعاشة لمنسوبي القوات البحرية
                          بالمنطقة الوسطى
                        agency_code: '017001000000'
                        agency_name: وزارة الدفاع - الديوان العام
                        created_date: '2026-09-29T13:24:49.5146761'
                        inside_ksa: true
                        last_enquiries_date: '2026-10-19T00:00:00'
                        last_enquiries_date_hijri: '1448-05-08'
                        last_offer_presentation_date: '2026-11-02T20:00:00'
                        last_offer_presentation_date_hijri: '1448-05-22'
                        offers_checking_date: '2026-11-03T08:00:00'
                        offers_checking_date_hijri: '1448-05-23'
                        qualification_name: >-
                          توريد وتقديم خدمات الإعاشة لمنسوبي القوات البحرية
                          بالمنطقة الوسطى
                        qualification_type: تأهيل مسبق
                        reference_number: '260940010410'
                        remaining:
                          days: 29
                          hours: 0
                          minutes: 21
                        source_url: >-
                          https://tenders.etimad.sa/Qualification/PrequalificationVisitorDetails/8b1vZ8Uh5wyT8Z9SpQ%2BdbA%3D%3D
                        submission_date: '2026-10-04T13:23:28.1410917'
                        submission_date_hijri: '1448-04-23'
                        tender_id: 1107590
                        tender_id_string: 8b1vZ8Uh5wyT8Z9SpQ dbA==
                        tender_status_id: 4
                        tender_type_id: 3
                      - activity_description: null
                        agency_code: '017002000000'
                        agency_name: رئاسة هيئة الأركان العامة
                        created_date: '2026-09-14T15:07:52.3199029'
                        inside_ksa: true
                        last_enquiries_date: '2026-10-06T00:00:00'
                        last_enquiries_date_hijri: '1448-04-25'
                        last_offer_presentation_date: '2026-10-17T11:00:00'
                        last_offer_presentation_date_hijri: '1448-05-06'
                        offers_checking_date: '2026-10-18T10:00:00'
                        offers_checking_date_hijri: '1448-05-07'
                        qualification_name: تقديم خدمات الإعاشة لحجاج حملة وزارة الدفاع
                        qualification_type: تأهيل مسبق
                        reference_number: '260940005567'
                        remaining:
                          days: 12
                          hours: 15
                          minutes: 21
                        source_url: >-
                          https://tenders.etimad.sa/Qualification/PrequalificationVisitorDetails/0JOWeVfvuRVNWNMBKiP26A%3D%3D
                        submission_date: '2026-09-15T15:55:47.8422504'
                        submission_date_hijri: '1448-04-04'
                        tender_id: 1104514
                        tender_id_string: 0JOWeVfvuRVNWNMBKiP26A==
                        tender_status_id: 4
                        tender_type_id: 3
                      - activity_description: null
                        agency_code: '063002000000'
                        agency_name: المؤسسة العامة لتحلية المياه المالحة
                        created_date: '2026-09-10T12:31:00.8565947'
                        inside_ksa: true
                        last_enquiries_date: '2026-10-17T00:00:00'
                        last_enquiries_date_hijri: '1448-05-06'
                        last_offer_presentation_date: '2026-10-18T20:00:00'
                        last_offer_presentation_date_hijri: '1448-05-07'
                        offers_checking_date: '2026-10-19T07:00:00'
                        offers_checking_date_hijri: '1448-05-08'
                        qualification_name: تقديم خدمات الإعاشة للعاملين
                        qualification_type: تأهيل مسبق
                        reference_number: '260940004210'
                        remaining:
                          days: 14
                          hours: 0
                          minutes: 21
                        source_url: >-
                          https://tenders.etimad.sa/Qualification/PrequalificationVisitorDetails/g9CPtJmzDVkmNSztCyVMSg%3D%3D
                        submission_date: '2026-09-10T15:35:33.0252673'
                        submission_date_hijri: '1448-03-28'
                        tender_id: 1103663
                        tender_id_string: g9CPtJmzDVkmNSztCyVMSg==
                        tender_status_id: 4
                        tender_type_id: 3
                      - activity_description: null
                        agency_code: '017003000000'
                        agency_name: القوات البرية
                        created_date: '2026-08-18T21:03:15.1950864'
                        inside_ksa: true
                        last_enquiries_date: '2026-08-23T00:00:00'
                        last_enquiries_date_hijri: '1448-03-10'
                        last_offer_presentation_date: '2026-08-24T14:00:00'
                        last_offer_presentation_date_hijri: '1448-03-11'
                        offers_checking_date: '2026-08-25T08:00:00'
                        offers_checking_date_hijri: '1448-03-12'
                        qualification_name: خدمات الإعاشة لمنسوبي وحدات القوات البرية
                        qualification_type: تأهيل مسبق
                        reference_number: '260840005910'
                        remaining:
                          days: -41
                          hours: -5
                          minutes: -38
                        source_url: >-
                          https://tenders.etimad.sa/Qualification/PrequalificationVisitorDetails/6piSHchHR54l8uWkjKm4FA%3D%3D
                        submission_date: '2026-08-18T22:19:13.7470297'
                        submission_date_hijri: '1448-03-05'
                        tender_id: 1097643
                        tender_id_string: 6piSHchHR54l8uWkjKm4FA==
                        tender_status_id: 21
                        tender_type_id: 3
                      - activity_description: null
                        agency_code: '063002000000'
                        agency_name: المؤسسة العامة لتحلية المياه المالحة
                        created_date: '2025-09-14T12:13:56.8111736'
                        inside_ksa: true
                        last_enquiries_date: '2025-10-09T00:00:00'
                        last_enquiries_date_hijri: '1447-04-17'
                        last_offer_presentation_date: '2025-10-11T14:00:00'
                        last_offer_presentation_date_hijri: '1447-04-19'
                        offers_checking_date: '2025-10-12T07:00:00'
                        offers_checking_date_hijri: '1447-04-20'
                        qualification_name: تقديم خدمات الإعاشة للعاملين
                        qualification_type: تأهيل مسبق
                        reference_number: '250940009377'
                        remaining:
                          days: -358
                          hours: -5
                          minutes: -38
                        source_url: >-
                          https://tenders.etimad.sa/Qualification/PrequalificationVisitorDetails/9OiKO0ExUFkxzSREve1H5Q%3D%3D
                        submission_date: '2025-09-15T07:56:08.0811064'
                        submission_date_hijri: '1447-03-23'
                        tender_id: 997492
                        tender_id_string: 9OiKO0ExUFkxzSREve1H5Q==
                        tender_status_id: 21
                        tender_type_id: 3
                      - activity_description: تأمين وتوريد إعاشة غير مطهية وتقديم خدمات الطعام
                        agency_code: '017006000002'
                        agency_name: كلية الملك عبدالله للدفاع الجوي
                        created_date: '2025-01-12T10:27:40.2401132'
                        inside_ksa: true
                        last_enquiries_date: '2025-01-28T00:00:00'
                        last_enquiries_date_hijri: '1446-07-28'
                        last_offer_presentation_date: '2025-02-05T20:00:00'
                        last_offer_presentation_date_hijri: '1446-08-06'
                        offers_checking_date: '2025-02-06T09:00:00'
                        offers_checking_date_hijri: '1446-08-07'
                        qualification_name: >-
                          (1/ك/2025)تأمين وتوريد إعاشة غير مطهية وتقديم خدمات
                          الطعام لكلية الملك عبدالله للدفاع الجوي بالطائف
                        qualification_type: تأهيل مسبق
                        reference_number: '250140003696'
                        remaining:
                          days: -605
                          hours: -23
                          minutes: -38
                        source_url: >-
                          https://tenders.etimad.sa/Qualification/PrequalificationVisitorDetails/eUBO5oz%2B73EoOJ0QkNbdnQ%3D%3D
                        submission_date: '2025-01-13T12:32:33.2806982'
                        submission_date_hijri: '1446-07-13'
                        tender_id: 889538
                        tender_id_string: eUBO5oz 73EoOJ0QkNbdnQ==
                        tender_status_id: 21
                        tender_type_id: 3
                    request_url: >-
                      https://tenders.etimad.sa/Qualification/AllPreQualificationsAsync?TenderName=%D8%A5%D8%B9%D8%A7%D8%B4%D8%A9&PageSize=6&pageNumber=1
                    source_url: >-
                      https://tenders.etimad.sa/Qualification/QualificationsForVisitor
                    total_count: 46
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Pre-qualification invitations open to visitors
            (AllPreQualificationsAsync): keyword, reference number, agency,
            type, status, activity and region filters with paging. Rows carry
            the invitation name, agency, type, Gregorian and Hijri deadlines,
            remaining time and the public detail URL.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

            | --- | --- | --- |

            | `count` | number | Rows in this page. |

            | `observed_at_ms` | number | Retrieval time, Unix epoch
            milliseconds. |

            | `page` | number |  |

            | `page_size` | number | Page size the server applied (it caps at
            24). |

            | `prequalifications` | object[] |  |

            | `request_url` | string |  |

            | `source_url` | string | The site's visitor listing page for this
            surface. |

            | `total_count` | number | Total matching rows reported by the site.
            |



            These are the provider's documented fields. Field requiredness,
            nullability and nested object structures are specified only where
            the descriptions explicitly say so.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.