MedNode AI Lab API
The Lab API from MedNode AI — 19 operation(s) for lab.
The Lab API from MedNode AI — 19 operation(s) for lab.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/mednode-in:mednode-in-lab-api"
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.
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: 3.2.0
info:
title: MedNode AI Lab API
version: 1.0.0
tags:
- name: Lab
paths:
/api/lab/auth/register:
post:
summary: Lab Register
operationId: lab_register_api_lab_auth_register_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/LabRegisterRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Lab
/api/lab/auth/login:
post:
summary: Lab Login
operationId: lab_login_api_lab_auth_login_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/LabLoginRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Lab
/api/lab/auth/logout:
post:
summary: Lab Logout
operationId: lab_logout_api_lab_auth_logout_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
tags:
- Lab
/api/lab/me:
get:
summary: Lab Me
operationId: lab_me_api_lab_me_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/LabMeResponse'
security:
- HTTPBearer: []
tags:
- Lab
patch:
summary: Lab Update Me
operationId: lab_update_me_api_lab_me_patch
requestBody:
content:
application/json:
schema:
type: object
title: Body
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/LabMeResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
tags:
- Lab
/api/lab/auth/change-password:
post:
summary: Lab Change Password
operationId: lab_change_password_api_lab_auth_change_password_post
requestBody:
content:
application/json:
schema:
type: object
title: Body
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
tags:
- Lab
/api/lab/dashboard:
get:
summary: Lab Dashboard
operationId: lab_dashboard_api_lab_dashboard_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
tags:
- Lab
/api/lab/tests:
get:
summary: Lab List Tests
operationId: lab_list_tests_api_lab_tests_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
tags:
- Lab
post:
summary: Lab Add Test
operationId: lab_add_test_api_lab_tests_post
requestBody:
content:
application/json:
schema:
type: object
title: Body
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
tags:
- Lab
/api/lab/tests/{test_id}:
patch:
summary: Lab Update Test
operationId: lab_update_test_api_lab_tests__test_id__patch
security:
- HTTPBearer: []
parameters:
- name: test_id
in: path
required: true
schema:
type: integer
title: Test Id
requestBody:
required: true
content:
application/json:
schema:
type: object
title: Body
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Lab
delete:
summary: Lab Delete Test
operationId: lab_delete_test_api_lab_tests__test_id__delete
security:
- HTTPBearer: []
parameters:
- name: test_id
in: path
required: true
schema:
type: integer
title: Test Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Lab
/api/lab/packages:
get:
summary: Lab List Packages
operationId: lab_list_packages_api_lab_packages_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
tags:
- Lab
post:
summary: Lab Add Package
operationId: lab_add_package_api_lab_packages_post
requestBody:
content:
application/json:
schema:
type: object
title: Body
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
tags:
- Lab
/api/lab/packages/{package_id}:
delete:
summary: Lab Delete Package
operationId: lab_delete_package_api_lab_packages__package_id__delete
security:
- HTTPBearer: []
parameters:
- name: package_id
in: path
required: true
schema:
type: integer
title: Package Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Lab
/api/lab/bookings:
get:
summary: Lab List Bookings
operationId: lab_list_bookings_api_lab_bookings_get
security:
- HTTPBearer: []
parameters:
- name: status
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Status
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Lab
/api/lab/bookings/{booking_id}:
patch:
summary: Lab Update Booking
operationId: lab_update_booking_api_lab_bookings__booking_id__patch
security:
- HTTPBearer: []
parameters:
- name: booking_id
in: path
required: true
schema:
type: integer
title: Booking Id
requestBody:
required: true
content:
application/json:
schema:
type: object
title: Body
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Lab
/api/lab/bookings/{booking_id}/result-file:
post:
summary: Lab Upload Result File
operationId: lab_upload_result_file_api_lab_bookings__booking_id__result_file_post
security:
- HTTPBearer: []
parameters:
- name: booking_id
in: path
required: true
schema:
type: integer
title: Booking Id
requestBody:
required: true
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/Body_lab_upload_result_file_api_lab_bookings__booking_id__result_file_post'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Lab
get:
summary: Lab Booking Result File
description: Signed URL for the owning lab to view a report it uploaded.
operationId: lab_booking_result_file_api_lab_bookings__booking_id__result_file_get
security:
- HTTPBearer: []
parameters:
- name: booking_id
in: path
required: true
schema:
type: integer
title: Booking Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Lab
/api/lab/bookings/{booking_id}/messages:
get:
summary: Lab List Booking Messages
operationId: lab_list_booking_messages_api_lab_bookings__booking_id__messages_get
security:
- HTTPBearer: []
parameters:
- name: booking_id
in: path
required: true
schema:
type: integer
title: Booking Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Lab
post:
summary: Lab Post Booking Message
operationId: lab_post_booking_message_api_lab_bookings__booking_id__messages_post
security:
- HTTPBearer: []
parameters:
- name: booking_id
in: path
required: true
schema:
type: integer
title: Booking Id
requestBody:
required: true
content:
application/json:
schema:
type: object
title: Body
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Lab
/api/lab/bookings/{booking_id}/resolve-query:
post:
summary: Lab Resolve Booking Query
operationId: lab_resolve_booking_query_api_lab_bookings__booking_id__resolve_query_post
security:
- HTTPBearer: []
parameters:
- name: booking_id
in: path
required: true
schema:
type: integer
title: Booking Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Lab
/api/lab/notifications:
get:
summary: Lab List Notifications
operationId: lab_list_notifications_api_lab_notifications_get
security:
- HTTPBearer: []
parameters:
- name: unread_only
in: query
required: false
schema:
type: boolean
default: false
title: Unread Only
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Lab
/api/lab/notifications/unread-count:
get:
summary: Lab Unread Count
operationId: lab_unread_count_api_lab_notifications_unread_count_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
tags:
- Lab
/api/lab/notifications/{notif_id}/read:
post:
summary: Lab Mark Notification Read
operationId: lab_mark_notification_read_api_lab_notifications__notif_id__read_post
security:
- HTTPBearer: []
parameters:
- name: notif_id
in: path
required: true
schema:
type: integer
title: Notif Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Lab
/api/lab/notifications/read-all:
post:
summary: Lab Mark All Notifications Read
operationId: lab_mark_all_notifications_read_api_lab_notifications_read_all_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
tags:
- Lab
components:
schemas:
LabMeResponse:
properties:
id:
type: integer
title: Id
email:
anyOf:
- type: string
- type: 'null'
title: Email
name:
type: string
title: Name
owner_name:
anyOf:
- type: string
- type: 'null'
title: Owner Name
city:
anyOf:
- type: string
- type: 'null'
title: City
address:
anyOf:
- type: string
- type: 'null'
title: Address
phone:
anyOf:
- type: string
- type: 'null'
title: Phone
license_number:
anyOf:
- type: string
- type: 'null'
title: License Number
rating:
anyOf:
- type: string
- type: 'null'
title: Rating
nabl_accredited:
type: boolean
title: Nabl Accredited
default: false
home_collection:
type: boolean
title: Home Collection
default: true
about:
anyOf:
- type: string
- type: 'null'
title: About
is_active:
type: boolean
title: Is Active
default: true
is_approved:
type: boolean
title: Is Approved
default: false
created_at:
type: string
format: date-time
title: Created At
type: object
required:
- id
- name
- created_at
title: LabMeResponse
LabLoginRequest:
properties:
email:
type: string
title: Email
password:
type: string
maxLength: 4096
title: Password
type: object
required:
- email
- password
title: LabLoginRequest
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
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
LabRegisterRequest:
properties:
email:
type: string
title: Email
password:
type: string
maxLength: 128
title: Password
name:
type: string
title: Name
owner_name:
anyOf:
- type: string
- type: 'null'
title: Owner Name
city:
anyOf:
- type: string
- type: 'null'
title: City
address:
anyOf:
- type: string
- type: 'null'
title: Address
phone:
anyOf:
- type: string
- type: 'null'
title: Phone
license_number:
anyOf:
- type: string
- type: 'null'
title: License Number
nabl_accredited:
anyOf:
- type: boolean
- type: 'null'
title: Nabl Accredited
default: false
home_collection:
anyOf:
- type: boolean
- type: 'null'
title: Home Collection
default: true
about:
anyOf:
- type: string
- type: 'null'
title: About
type: object
required:
- email
- password
- name
title: LabRegisterRequest
Body_lab_upload_result_file_api_lab_bookings__booking_id__result_file_post:
properties:
file:
type: string
format: binary
title: File
type: object
required:
- file
title: Body_lab_upload_result_file_api_lab_bookings__booking_id__result_file_post
securitySchemes:
HTTPBearer:
type: http
scheme: bearer