ThaiProps Mine Projects API

The Mine Projects API from ThaiProps — 27 operation(s) for mine projects.

GitHub OpenAPI

Operations 28

GET /admin/mine-projects/health Mine Projects Health #
GET /admin/mine-projects/db-match-file-status Db Project Match File Status #
POST /admin/mine-projects/run-match-scan Run Project Match Scan #
GET /admin/mine-projects/match-scan-results Get Project Match Scan Results #
GET /admin/mine-projects/db-match-search Search Db Project Match Index #
POST /admin/mine-projects/match-scan-decision Apply Project Match Scan Decision #
POST /admin/mine-projects/export-db-match-file Export Db Project Match File #
GET /admin/mine-projects/field-map Mine Projects Field Map #
GET /admin/mine-projects/smart-area-match Preview Smart Area Match #
POST /admin/mine-projects/smart-area-match/apply Apply Smart Area Match #
GET /admin/mine-projects/smart-area-rules Get Smart Area Rules #
PUT /admin/mine-projects/smart-area-rules Update Smart Area Rules #
POST /admin/mine-projects/upload-json Upload Mine Projects Json #
POST /admin/mine-projects/candidates/{candidate_id}/sync-source-fields Update Candidate Sync Source Fields #
POST /admin/mine-projects/candidates/{candidate_id}/field-decisions Update Candidate Field Decisions #
GET /admin/mine-projects/sync-preview Mine Projects Sync Preview #
PATCH /admin/mine-projects/field-audit/projects/{project_id} Update Project From Field Audit #
GET /admin/mine-projects/field-audit/projects/{project_id}/children Mine Project Child Properties #
GET /admin/mine-projects/field-audit Mine Projects Field Audit #
POST /admin/mine-projects/sync-approved Mine Projects Sync Approved #
GET /admin/mine-projects/summary Mine Projects Summary #
GET /admin/mine-projects/candidates List Mine Project Candidates #
GET /admin/mine-projects/candidates/{candidate_id} Get Mine Project Candidate #
GET /admin/mine-projects/candidates/{candidate_id}/findings Get Candidate Enrichment Findings #
POST /admin/mine-projects/candidates/{candidate_id}/find-missing-info Find Missing Project Info #
POST /admin/mine-projects/findings/{finding_id}/accept Accept Enrichment Finding #
POST /admin/mine-projects/findings/{finding_id}/reject Reject Enrichment Finding #
POST /admin/mine-projects/ai-rematch Ai Rematch Mine Projects #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/thaiprops-com:thaiprops-com-mine-projects-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

thaiprops-com-mine-projects-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ThaiProps Admin Mine Projects API
  version: 0.1.0
tags:
- name: Mine Projects
paths:
  /admin/mine-projects/health:
    get:
      tags:
      - Mine Projects
      summary: Mine Projects Health
      operationId: mine_projects_health_admin_mine_projects_health_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /admin/mine-projects/db-match-file-status:
    get:
      tags:
      - Mine Projects
      summary: Db Project Match File Status
      operationId: db_project_match_file_status_admin_mine_projects_db_match_file_status_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /admin/mine-projects/run-match-scan:
    post:
      tags:
      - Mine Projects
      summary: Run Project Match Scan
      operationId: run_project_match_scan_admin_mine_projects_run_match_scan_post
      parameters:
      - name: source_file
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Source File
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/mine-projects/match-scan-results:
    get:
      tags:
      - Mine Projects
      summary: Get Project Match Scan Results
      operationId: get_project_match_scan_results_admin_mine_projects_match_scan_results_get
      parameters:
      - name: classification
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Classification
      - name: q
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Q
      - name: include_decided
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Include Decided
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
          title: Page
      - name: per_page
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 50
          title: Per Page
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/mine-projects/db-match-search:
    get:
      tags:
      - Mine Projects
      summary: Search Db Project Match Index
      operationId: search_db_project_match_index_admin_mine_projects_db_match_search_get
      parameters:
      - name: q
        in: query
        required: true
        schema:
          type: string
          minLength: 2
          title: Q
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 50
          minimum: 1
          default: 20
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/mine-projects/match-scan-decision:
    post:
      tags:
      - Mine Projects
      summary: Apply Project Match Scan Decision
      operationId: apply_project_match_scan_decision_admin_mine_projects_match_scan_decision_post
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: true
              type: object
              title: Payload
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/mine-projects/export-db-match-file:
    post:
      tags:
      - Mine Projects
      summary: Export Db Project Match File
      operationId: export_db_project_match_file_admin_mine_projects_export_db_match_file_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /admin/mine-projects/field-map:
    get:
      tags:
      - Mine Projects
      summary: Mine Projects Field Map
      operationId: mine_projects_field_map_admin_mine_projects_field_map_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /admin/mine-projects/smart-area-match:
    get:
      tags:
      - Mine Projects
      summary: Preview Smart Area Match
      operationId: preview_smart_area_match_admin_mine_projects_smart_area_match_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 2000
          minimum: 1
          default: 200
          title: Limit
      - name: threshold
        in: query
        required: false
        schema:
          type: number
          maximum: 0.99
          minimum: 0.5
          default: 0.78
          title: Threshold
      - name: include_existing
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Include Existing
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/mine-projects/smart-area-match/apply:
    post:
      tags:
      - Mine Projects
      summary: Apply Smart Area Match
      operationId: apply_smart_area_match_admin_mine_projects_smart_area_match_apply_post
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 5000
          minimum: 1
          default: 200
          title: Limit
      - name: threshold
        in: query
        required: false
        schema:
          type: number
          maximum: 0.99
          minimum: 0.5
          default: 0.78
          title: Threshold
      - name: overwrite
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Overwrite
      - name: include_existing
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Include Existing
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/mine-projects/smart-area-rules:
    get:
      tags:
      - Mine Projects
      summary: Get Smart Area Rules
      operationId: get_smart_area_rules_admin_mine_projects_smart_area_rules_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
    put:
      tags:
      - Mine Projects
      summary: Update Smart Area Rules
      operationId: update_smart_area_rules_admin_mine_projects_smart_area_rules_put
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: true
              type: object
              title: Payload
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/mine-projects/upload-json:
    post:
      tags:
      - Mine Projects
      summary: Upload Mine Projects Json
      operationId: upload_mine_projects_json_admin_mine_projects_upload_json_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_upload_mine_projects_json_admin_mine_projects_upload_json_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/mine-projects/candidates/{candidate_id}/sync-source-fields:
    post:
      tags:
      - Mine Projects
      summary: Update Candidate Sync Source Fields
      operationId: update_candidate_sync_source_fields_admin_mine_projects_candidates__candidate_id__sync_source_fields_post
      parameters:
      - name: candidate_id
        in: path
        required: true
        schema:
          type: integer
          title: Candidate Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              title: Payload
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/mine-projects/candidates/{candidate_id}/field-decisions:
    post:
      tags:
      - Mine Projects
      summary: Update Candidate Field Decisions
      operationId: update_candidate_field_decisions_admin_mine_projects_candidates__candidate_id__field_decisions_post
      parameters:
      - name: candidate_id
        in: path
        required: true
        schema:
          type: integer
          title: Candidate Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              title: Payload
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/mine-projects/sync-preview:
    get:
      tags:
      - Mine Projects
      summary: Mine Projects Sync Preview
      operationId: mine_projects_sync_preview_admin_mine_projects_sync_preview_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 1000
          minimum: 1
          default: 50
          title: Limit
      - name: source_name
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Source Name
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/mine-projects/field-audit/projects/{project_id}:
    patch:
      tags:
      - Mine Projects
      summary: Update Project From Field Audit
      operationId: update_project_from_field_audit_admin_mine_projects_field_audit_projects__project_id__patch
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: integer
          title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              title: Payload
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/mine-projects/field-audit/projects/{project_id}/children:
    get:
      tags:
      - Mine Projects
      summary: Mine Project Child Properties
      operationId: mine_project_child_properties_admin_mine_projects_field_audit_projects__project_id__children_get
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: integer
          title: Project Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/mine-projects/field-audit:
    get:
      tags:
      - Mine Projects
      summary: Mine Projects Field Audit
      operationId: mine_projects_field_audit_admin_mine_projects_field_audit_get
      parameters:
      - name: q
        in: query
        required: false
        schema:
          type: string
          maxLength: 120
          default: ''
          title: Q
      - name: import_status
        in: query
        required: false
        schema:
          type: string
          maxLength: 30
          default: ''
          title: Import Status
      - name: selected_action
        in: query
        required: false
        schema:
          type: string
          maxLength: 40
          default: ''
          title: Selected Action
      - name: field_status
        in: query
        required: false
        schema:
          type: string
          maxLength: 30
          default: ''
          title: Field Status
      - name: field_name
        in: query
        required: false
        schema:
          type: string
          maxLength: 80
          default: ''
          title: Field Name
      - name: only_differences
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Only Differences
      - name: only_missing_db
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Only Missing Db
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          minimum: 1
          default: 100
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/mine-projects/sync-approved:
    post:
      tags:
      - Mine Projects
      summary: Mine Projects Sync Approved
      operationId: mine_projects_sync_approved_admin_mine_projects_sync_approved_post
      parameters:
      - name: source_name
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Source Name
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/mine-projects/summary:
    get:
      tags:
      - Mine Projects
      summary: Mine Projects Summary
      operationId: mine_projects_summary_admin_mine_projects_summary_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /admin/mine-projects/candidates:
    get:
      tags:
      - Mine Projects
      summary: List Mine Project Candidates
      operationId: list_mine_project_candidates_admin_mine_projects_candidates_get
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
          title: Page
      - name: per_page
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 50
          title: Per Page
      - name: q
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Q
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Status
      - name: province
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Province
      - name: source_name
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Source Name
      - name: warning_type
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Warning Type
      - name: missing_field
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Missing Field
      - name: warnings_only
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Warnings Only
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/mine-projects/candidates/{candidate_id}:
    get:
      tags:
      - Mine Projects
      summary: Get Mine Project Candidate
      operationId: get_mine_project_candidate_admin_mine_projects_candidates__candidate_id__get
      parameters:
      - name: candidate_id
        in: path
        required: true
        schema:
          type: integer
          title: Candidate Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/mine-projects/candidates/{candidate_id}/findings:
    get:
      tags:
      - Mine Projects
      summary: Get Candidate Enrichment Findings
      operationId: get_candidate_enrichment_findings_admin_mine_projects_candidates__candidate_id__findings_get
      parameters:
      - name: candidate_id
        in: path
        required: true
        schema:
          type: integer
          title: Candidate Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/mine-projects/candidates/{candidate_id}/find-missing-info:
    post:
      tags:
      - Mine Projects
      summary: Find Missing Project Info
      operationId: find_missing_project_info_admin_mine_projects_candidates__candidate_id__find_missing_info_post
      parameters:
      - name: candidate_id
        in: path
        required: true
        schema:
          type: integer
          title: Candidate Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/mine-projects/findings/{finding_id}/accept:
    post:
      tags:
      - Mine Projects
      summary: Accept Enrichment Finding
      operationId: accept_enrichment_finding_admin_mine_projects_findings__finding_id__accept_post
      parameters:
      - name: finding_id
        in: path
        required: true
        schema:
          type: integer
          title: Finding Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/mine-projects/findings/{finding_id}/reject:
    post:
      tags:
      - Mine Projects
      summary: Reject Enrichment Finding
      operationId: reject_enrichment_finding_admin_mine_projects_findings__finding_id__reject_post
      parameters:
      - name: finding_id
        in: path
        required: true
        schema:
          type: integer
          title: Finding Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/mine-projects/ai-rematch:
    post:
      tags:
      - Mine Projects
      summary: Ai Rematch Mine Projects
      operationId: ai_rematch_mine_projects_admin_mine_projects_ai_rematch_post
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 50
          title: Limit
      - name: candidate_id
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Candidate Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Body_upload_mine_projects_json_admin_mine_projects_upload_json_post:
      properties:
        source_name:
          type: string
          title: Source Name
        notes:
          anyOf:
          - type: string
          - type: 'null'
          title: Notes
        file:
          type: string
          format: binary
          title: File
      type: object
      required:
      - source_name
      - file
      title: Body_upload_mine_projects_json_admin_mine_projects_upload_json_post