openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 3.16 MB
JSON
{"openapi":"3.0.0","servers":[{"url":"https://enterpriseapi.unicourt.com/"}],"info":{"description":"<button><a href=\"/enterpriseapi/download/UniCourt-Enterprise-API-Spec.yaml\" >Download UniCourt Enterprise APIs Specification</a></button>\n","title":"UniCourt Enterprise APIs","version":"1.0.0","x-apisguru-categories":["open_data"],"x-logo":{"url":"https://cdn.unicourt.com/uc-website_resources/website/1.0.2303151021/images/apple-touch-icon/apple-touch-icon-57x57.png"},"x-origin":[{"format":"openapi","url":"https://docs.unicourt.com/enterpriseapi/download/UniCourt-Enterprise-API-Spec.yaml","version":"3.0"}],"x-providerName":"unicourt.com"},"tags":[{"name":"Authentication API"},{"name":"Usage API"},{"name":"Case Search API"},{"name":"Case Docket API"},{"name":"Case Export API"},{"name":"Case Documents API"},{"name":"Case Update API"},{"name":"Case Tracking API"},{"name":"PACER Credential API"},{"name":"PACER API"},{"name":"Court Availability API"},{"name":"Court Standards API"},{"name":"Attorney Analytics API"},{"name":"Law Firm Analytics API"},{"name":"Judge Analytics API"},{"name":"Party Analytics API"},{"name":"Case Analytics API"},{"name":"Webhook API"},{"name":"Company Data API"}],"paths":{"/attorney/{attorneyId}":{"get":{"description":"Retrieve the attorney with the specified attorneyId value.","operationId":"getAttorneyById","parameters":[],"responses":{"200":{"content":{"application/json":{"examples":{"AllAttorneysForACase":{"$ref":"#/components/examples/CaseApiAttorneyResponse"}},"schema":{"$ref":"#/components/schemas/Attorney"}}},"description":"The request is recieved."},"404":{"content":{"application/json":{"examples":{"RequestedAttorneyIdIsInvalid":{"$ref":"#/components/examples/FailureInvalidAttorneyId"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Resource Not Found"},"451":{"content":{"application/json":{"examples":{"SealedCase":{"$ref":"#/components/examples/SealedCase"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Sealed Case"},"500":{"content":{"application/json":{"examples":{"ServerError":{"$ref":"#/components/examples/FailureServerError"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Server Error"}},"security":[{"bearerAuth":[]}],"summary":"Gets details for a requested Attorney ID.","tags":["Case Docket API"],"x-amazon-apigateway-integration":{"connectionType":"INTERNET","httpMethod":"POST","payloadFormatVersion":"2.0","type":"aws_proxy"}},"parameters":[{"description":"Retrieve the attorney with the specified attorneyId value.","examples":{"HTTP200-AllAttorneysForACase":{"summary":"AllAttorneysForACase","value":"ATTYgu01be2e4de654"},"HTTP404-RequestedAttorneyIdIsInvalid":{"summary":"RequestedAttorneyIdIsInvalid","value":"ATTYzz01be2e4de654"},"HTTP451-SealedCase":{"summary":"SealedCase","value":"ATTYgqc8b00894a8fd"}},"in":"path","name":"attorneyId","required":true,"schema":{"maxLength":18,"minLength":18,"nullable":false,"type":"string"}}],"x-api-name":"AttorneyAPI","x-unicourt-tag":"CaseDocketAPIs"},"/attorney/{attorneyId}/associatedParties":{"get":{"description":"Retrieve the parties represented by the attorney with the specified attorneyId value.","operationId":"getAttorneyAssociatedParties","parameters":[{"description":"Query parameter specifying the page number of the search results to be retrieved.","examples":{"HTTP200-PartyAssociationsForAAttorney":{"summary":"PartyAssociationsForAAttorney","value":1},"HTTP400-PageNumberParameterNotPassed":{"summary":"PageNumberParameterNotPassed","value":"sda"},"HTTP400-RequestedPageNumberIsInvalid":{"summary":"RequestedPageNumberIsInvalid","value":"das"},"HTTP404-RequestedAttorneyIdIsInvalid":{"summary":"RequestedAttorneyIdIsInvalid","value":1},"HTTP451-SealedCase":{"summary":"SealedCase","value":1}},"in":"query","name":"pageNumber","schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"examples":{"PartyAssociationsForAAttorney":{"$ref":"#/components/examples/CaseApipartyAssociationForAttorneyResponse"}},"schema":{"$ref":"#/components/schemas/PartyAttorneyAssociations"}}},"description":"The request is recieved."},"400":{"content":{"application/json":{"examples":{"PageNumberParameterNotPassed":{"$ref":"#/components/examples/FailurePageNumberIdNotPassed"},"RequestedPageNumberIsInvalid":{"$ref":"#/components/examples/FailureInvalidPageNumber"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Invalid Input Parameter"},"404":{"content":{"application/json":{"examples":{"RequestedAttorneyIdIsInvalid":{"$ref":"#/components/examples/FailureInvalidAttorneyId"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Resource Not Found"},"451":{"content":{"application/json":{"examples":{"SealedCase":{"$ref":"#/components/examples/SealedCase"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Sealed Case"},"500":{"content":{"application/json":{"examples":{"ServerError":{"$ref":"#/components/examples/FailureServerError"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Server Error"}},"security":[{"bearerAuth":[]}],"summary":"Gets Associated Party details for a requested Attorney ID.","tags":["Case Docket API"],"x-amazon-apigateway-integration":{"connectionType":"INTERNET","httpMethod":"POST","payloadFormatVersion":"2.0","type":"aws_proxy"}},"parameters":[{"description":"Retrieve the parties represented by the attorney with the specified attorneyId value.","examples":{"HTTP200-PartyAssociationsForAAttorney":{"summary":"PartyAssociationsForAAttorney","value":"ATTYgr3ae043d84ebc"},"HTTP400-PageNumberParameterNotPassed":{"summary":"PageNumberParameterNotPassed","value":"ATTYgu01be2e4de654"},"HTTP400-RequestedPageNumberIsInvalid":{"summary":"RequestedPageNumberIsInvalid","value":"ATTYgu01be2e4de654"},"HTTP404-RequestedAttorneyIdIsInvalid":{"summary":"RequestedAttorneyIdIsInvalid","value":"ATTYzz01be2e4de654"},"HTTP451-SealedCase":{"summary":"SealedCase","value":"ATTYak2e9493e7419b"}},"in":"path","name":"attorneyId","required":true,"schema":{"example":"ATTYgu01be2e4de654","maxLength":18,"minLength":18,"nullable":false,"type":"string"}}],"x-api-name":"AssociatedPartiesForAttorneyAPI","x-unicourt-tag":"CaseDocketAPIs"},"/billingCycleUsage/{billingCycle}":{"get":{"description":"An endpoint to obtain information on API usage for a specific billing cycle.","operationId":"getBillingUsageByBillingCycle","responses":{"200":{"content":{"application/json":{"examples":{"sampleResponse":{"value":{"apiCallsBillable":{"count":23111,"lastUpdated":"2025-06-15T13:50:11.903Z"},"apiCallsCredited":{"count":0,"lastUpdated":"2025-06-15T13:50:11.903Z"},"apiCallsMade":{"count":23111,"lastUpdated":"2025-06-15T13:50:11.903Z"},"apiUsage":{"GET /attorney/{attorneyId}":4,"GET /attorney/{attorneyId}/associatedParties":4,"GET /billingCycles":2,"GET /callbacks":1,"GET /case/{caseId}":6,"GET /case/{caseId}/attorneys":4,"GET /case/{caseId}/docketEntries":8,"GET /case/{caseId}/docketEntries/primaryDocuments":1,"GET /case/{caseId}/docketEntries/secondaryDocuments":1,"GET /case/{caseId}/documents":3,"GET /case/{caseId}/hearings":5,"GET /case/{caseId}/judges":5,"GET /case/{caseId}/parties":6,"GET /case/{caseId}/relatedCases":4,"GET /caseCountAnalyticsByAreaOfLaw":5,"GET /caseCountAnalyticsByCaseClass":5,"GET /caseCountAnalyticsByCaseFiledDate":1,"GET /caseCountAnalyticsByCaseType":5,"GET /caseCountAnalyticsByCaseTypeGroup":5,"GET /caseCountAnalyticsByCourt":5,"GET /caseCountAnalyticsByCourtLocation":5,"GET /caseCountAnalyticsByCourtSystem":5,"GET /caseCountAnalyticsByCourtType":5,"GET /caseCountAnalyticsByJurisdictionGeo":5,"GET /caseCountAnalyticsByNormAttorney":1,"GET /caseCountAnalyticsByNormJudge":1,"GET /caseCountAnalyticsByNormLawFirm":1,"GET /caseCountAnalyticsByNormParty":1,"GET /caseCountAnalyticsByPartyRole":2,"GET /caseCountAnalyticsByPartyRoleGroup":2,"GET /caseDocument/{caseDocumentId}":2,"GET /caseDocumentDownload/{caseDocumentId}":8,"GET /caseDocumentOrder/callbacks":1,"GET /caseDocumentOrder/callbacks/{caseDocumentOrderCallbackId}":37,"GET /caseExport/callbacks":1,"GET /caseExport/callbacks/{caseExportCallbackId}":10,"GET /caseExport/{caseId}":14,"GET /caseSearch":473,"GET /caseSearch/{caseSearchId}":4,"GET /caseTrack/{caseId}":3,"GET /caseTracks":3,"GET /caseUpdate/{caseId}":28,"GET /caseUpdates":1,"GET /courtCoverage/{courtId}":2,"GET /dailyUsage/{date}":2,"GET /judge/{judgeId}":2,"GET /masterData/areaOfLaw":1,"GET /masterData/areaOfLaw/{areaOfLawId}":2,"GET /masterData/attorneyRepresentationType":1,"GET /masterData/attorneyRepresentationType/{attorneyRepresentationTypeId}":2,"GET /masterData/attorneyType":1,"GET /masterData/attorneyType/{attorneyTypeId}":2,"GET /masterData/caseClass":1,"GET /masterData/caseClass/{caseClassId}":2,"GET /masterData/caseRelationshipType":1,"GET /masterData/caseRelationshipType/{caseRelationshipTypeId}":2,"GET /masterData/caseStatus":1,"GET /masterData/caseStatus/{caseStatusId}":3,"GET /masterData/caseStatusGroup":1,"GET /masterData/caseStatusGroup/{caseStatusGroupId}":2,"GET /masterData/caseType":1,"GET /masterData/caseType/{caseTypeId}":2,"GET /masterData/caseTypeGroup":1,"GET /masterData/caseTypeGroup/{caseTypeGroupId}":2,"GET /masterData/causeOfAction":1,"GET /masterData/causeOfActionAdditionalData":1,"GET /masterData/causeOfActionGroup":1,"GET /masterData/charge":1,"GET /masterData/chargeAdditionalData":1,"GET /masterData/chargeDegree":1,"GET /masterData/chargeGroup":1,"GET /masterData/chargeSeverity":1,"GET /masterData/court":1,"GET /masterData/court/{courtId}":2,"GET /masterData/court/{courtId}/appealCourts":7,"GET /masterData/court/{courtId}/courtLocations":7,"GET /masterData/court/{courtId}/jurisdictionGeo":7,"GET /masterData/courtLocation":1,"GET /masterData/courtLocation/{courtLocationId}":2,"GET /masterData/courtLocation/{courtLocationId}/courts":6,"GET /masterData/courtServiceStatus":4,"GET /masterData/courtServiceStatus/{courtServiceStatusId}":2,"GET /masterData/courtSystem":1,"GET /masterData/courtSystem/{courtSystemId}":2,"GET /masterData/courtType":1,"GET /masterData/courtType/{courtTypeId}":2,"GET /masterData/judgeType":1,"GET /masterData/judgeType/{judgeTypeId}":2,"GET /masterData/jurisdictionGeo":1,"GET /masterData/jurisdictionGeo/{jurisdictionGeoId}":2,"GET /masterData/jurisdictionGeo/{jurisdictionGeoId}/courts":3,"GET /masterData/partyRole":1,"GET /masterData/partyRole/{partyRoleId}":2,"GET /masterData/partyRoleGroup":1,"GET /masterData/partyRoleGroup/{partyRoleGroupId}":2,"GET /normAttorney/{normAttorneyId}":6,"GET /normAttorney/{normAttorneyId}/associatedNormJudges":4,"GET /normAttorney/{normAttorneyId}/associatedNormLawFirms":4,"GET /normAttorney/{normAttorneyId}/associatedNormParties":4,"GET /normAttorney/{normAttorneyId}/caseCountAnalyticsByOpposingNormAttorney":4,"GET /normAttorneySearch":1,"GET /normJudge/{normJudgeId}":10,"GET /normJudge/{normJudgeId}/associatedNormAttorneys":2,"GET /normJudge/{normJudgeId}/associatedNormLawFirms":9,"GET /normJudge/{normJudgeId}/associatedNormParties":9,"GET /normJudgeSearch":1,"GET /normLawFirm/{normLawFirmId}":3,"GET /normLawFirm/{normLawFirmId}/associatedNormAttorneys":2,"GET /normLawFirm/{normLawFirmId}/associatedNormJudges":2,"GET /normLawFirm/{normLawFirmId}/associatedNormParties":2,"GET /normLawFirm/{normLawFirmId}/caseCountAnalyticsByOpposingNormLawFirm":2,"GET /normLawFirmSearch":1,"GET /normParty/{normPartyId}":3,"GET /normParty/{normPartyId}/associatedNormAttorneys":2,"GET /normParty/{normPartyId}/associatedNormJudges":2,"GET /normParty/{normPartyId}/associatedNormLawFirms":2,"GET /normParty/{normPartyId}/caseCountAnalyticsByOpposingNormParty":2,"GET /normPartySearch":1,"GET /pacerCredential/{pacerUserId}":2,"GET /party/{partyId}":2,"GET /party/{partyId}/associatedAttorneys":4,"POST /generateNewToken":2,"PUT /caseDocumentOrder":20,"PUT /caseTrack":3,"PUT /caseUpdate":24,"PUT /pacerCredential":1},"billingCycle":{"endDate":"2025-06-15T13:50:11.903Z","startDate":"2025-06-15T13:50:11.903Z"},"days":{"Wed Jan 25 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":817,"Thu Jan 26 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":817,"Fri Jan 27 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":817,"Sat Jan 28 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":0,"Sun Jan 29 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":0,"Mon Jan 30 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":820,"Tue Jan 31 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":817,"Wed Feb 01 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":817,"Thu Feb 02 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":817,"Fri Feb 03 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":817,"Sat Feb 04 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":817,"Sun Feb 05 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":817,"Mon Feb 06 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":817,"Tue Feb 07 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":817,"Wed Feb 08 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":2450,"Thu Feb 09 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":817,"Fri Feb 10 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":817,"Sat Feb 11 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":817,"Sun Feb 12 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":817,"Mon Feb 13 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":0,"Tue Feb 14 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":817,"Wed Feb 15 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":817,"Thu Feb 16 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":816,"Fri Feb 17 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":1777,"Sat Feb 18 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":817,"Sun Feb 19 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":817,"Mon Feb 20 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":817,"Tue Feb 21 2023 00:00:00 GMT+0000 (Coordinated Universal Time)":908},"object":"BillingCycleUsageResponse","totalCasesTracked":2}}},"schema":{"$ref":"#/components/schemas/BillingCycleUsageResponse"}}},"description":"OK"},"404":{"content":{"application/json":{"examples":{"sample404Response":{"value":{"code":"UN404","details":"Invalid request. Please check the `billingCycle`.","message":"RESOURCE_NOT_FOUND","object":"Exception"}}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Not Found"},"500":{"content":{"application/json":{"examples":{"Internal_Server_Error":{"value":{"code":"UN500","details":"Something went wrong. Please retry again later.","message":"INTERNAL_SERVER_ERROR","object":"Exception"}}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Internal Server Error"}},"security":[{"bearerAuth":[]}],"summary":"Specify the billing cycle to know the API usage.","tags":["Usage API"],"x-amazon-apigateway-integration":{"connectionType":"INTERNET","httpMethod":"GET","payloadFormatVersion":"2.0","type":"aws_proxy"}},"parameters":[{"description":"The date obtainable from the /billingCycles endpoint which is used as an identifier for the specific billing cycle you wish to obtain information on.","examples":{"HTTP200-sampleResponse":{"summary":"sampleResponse","value":"2023-01-25to2023-02-25"},"HTTP404-sample404Response":{"summary":"sample404Response","value":"2025-06-15T13:50:11.903Z"}},"in":"path","name":"billingCycle","required":true,"schema":{"maxLength":22,"minLength":22,"nullable":false,"type":"string"}}],"x-api-name":"BillingMonthlyUsageAPI","x-unicourt-tag":"UsageAPIs"},"/billingCycles":{"get":{"description":"An endpoint to obtain information on the previous 12 billing cycles.","operationId":"getBillingCycles","responses":{"200":{"content":{"application/json":{"examples":{"sampleResponse":{"value":{"billingCycleArray":["2023-01-10to2023-02-09","2022-12-10to2022-01-09","2022-11-10to2022-12-09"],"object":"BillingCyclesResponse"}}},"schema":{"$ref":"#/components/schemas/BillingCyclesResponse"}}},"description":"OK"},"500":{"content":{"application/json":{"examples":{"Internal_Server_Error":{"value":{"code":"UN500","details":"Something went wrong. Please retry again later.","message":"INTERNAL_SERVER_ERROR","object":"Exception"}}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Internal Server Error"}},"security":[{"bearerAuth":[]}],"summary":"Get all the previous 12 billing cycles.","tags":["Usage API"],"x-amazon-apigateway-integration":{"connectionType":"INTERNET","httpMethod":"GET","payloadFormatVersion":"2.0","type":"aws_proxy"}},"x-api-name":"BillingCyclesAPI","x-unicourt-tag":"UsageAPIs"},"/callbacks":{"get":{"description":"Get list of callback types with count for a requested Date.","operationId":"getCallbacks","parameters":[{"description":"Date for which fetch the callback type list. By default, the date will be set to current date.","examples":{"HTTP200-sampleCallbacks":{"summary":"sampleCallbacks","value":"2025-06-15T13:50:11.903Z"},"HTTP400-sample400Callbacks":{"summary":"sample400Callbacks","value":"2025-06-15T13:50:11.903Z"}},"in":"query","name":"date","schema":{"format":"date-time","maxLength":25,"minLength":25,"nullable":false,"type":"string"}},{"description":"Status of the callbacks. Default status will fetch all callbacks.","examples":{"HTTP200-sampleCallbacks":{"summary":"sampleCallbacks","value":"IN_PROGRESS"},"HTTP400-sample400Callbacks":{"summary":"sample400Callbacks","value":"COMPLETED"}},"in":"query","name":"status","schema":{"enum":["IN_PROGRESS","COMPLETE","FAILURE"],"maxLength":11,"minLength":7,"nullable":false,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"examples":{"sampleCallbacks":{"value":{"caseDocumentOrderCallbacks":{"count":7,"link":"https://enterpriseapi.unicourt.com/caseDocumentOrder/callbacks?&date=2022-03-08T00:00:00+00:00"},"caseExportCallbacks":{"count":6,"link":"https://enterpriseapi.unicourt.com/caseExport/callbacks?&date=2022-03-08T00:00:00+00:00"},"object":"CallbackListResponse"}}},"schema":{"$ref":"#/components/schemas/CallbackListResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"examples":{"sample400Callbacks":{"$ref":"#/components/examples/Invalid_Date"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"examples":{"Internal_Server_Error":{"value":{"code":"UN500","details":"Something went wrong. Please retry again later.","message":"INTERNAL_SERVER_ERROR","object":"Exception"}}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Internal Server Error"}},"security":[{"bearerAuth":[]}],"summary":"Get list of callback types with count for a requested Date.","tags":["Callback API"],"x-amazon-apigateway-integration":{"connectionType":"INTERNET","httpMethod":"GET","payloadFormatVersion":"2.0","type":"aws_proxy"}},"parameters":[],"x-api-name":"CallbackListByDateAPI","x-unicourt-tag":"CallbackAPIs"},"/case/{caseId}":{"get":{"description":"Retrieve the case with the specified caseId value.","operationId":"getCase","parameters":[],"responses":{"200":{"content":{"application/json":{"examples":{"FederalCase":{"$ref":"#/components/examples/CaseApiFederalCaseResponse"},"StateCase":{"$ref":"#/components/examples/CaseApiStateCaseResponse"}},"schema":{"$ref":"#/components/schemas/Case"}}},"description":"The request is recieved."},"404":{"content":{"application/json":{"examples":{"RequestedCaseIdIsInvalid":{"$ref":"#/components/examples/FailureInvalidCaseId"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Resource Not Found"},"451":{"content":{"application/json":{"examples":{"SealedCase":{"$ref":"#/components/examples/SealedCase"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Sealed Case"},"500":{"content":{"application/json":{"examples":{"ServerError":{"$ref":"#/components/examples/FailureServerError"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Server Error"}},"security":[{"bearerAuth":[]}],"summary":"Gets case information for a requested Case ID.","tags":["Case Docket API"],"x-amazon-apigateway-integration":{"connectionType":"INTERNET","httpMethod":"GET","payloadFormatVersion":"2.0","type":"aws_proxy"}},"parameters":[{"description":"Retrieve the case with the specified caseId value.","examples":{"HTTP200-FederalCase":{"summary":"FederalCase","value":"CASEgr45196c84f3ff"},"HTTP200-StateCase":{"summary":"StateCase","value":"CASEar7a26f15e76cf"},"HTTP404-RequestedCaseIdIsInvalid":{"summary":"RequestedCaseIdIsInvalid","value":"CASEzz99a698ea5413"},"HTTP451-SealedCase":{"summary":"SealedCase","value":"CASEakfbd1817d7431"}},"in":"path","name":"caseId","required":true,"schema":{"maxLength":18,"minLength":18,"nullable":false,"type":"string"}}],"x-api-name":"CaseAPI","x-unicourt-tag":"CaseDocketAPIs"},"/case/{caseId}/attorneys":{"get":{"description":"Retrieve the attorneys in the case with the specified caseId value.","operationId":"getCaseAttorneys","parameters":[{"allowEmptyValue":true,"description":"Retrieve attorneys in the case with the specified caseId value whose isVisible flag is set to the specified value.","examples":{"HTTP200-AllAttorneysForACase":{"summary":"AllAttorneysForACase","value":null},"HTTP400-InvalidIsVisibleParameterValuePassed":{"summary":"InvalidIsVisibleParameterValuePassed","value":"all"}},"in":"query","name":"isVisible","required":false,"schema":{"type":"boolean"}},{"description":"Query parameter specifying the page number of the search results to be retrieved.","examples":{"HTTP200-AllAttorneysForACase":{"summary":"AllAttorneysForACase","value":1},"HTTP400-InvalidIsVisibleParameterValuePassed":{"summary":"InvalidIsVisibleParameterValuePassed","value":1},"HTTP400-PageNumberParameterNotPassed":{"summary":"PageNumberParameterNotPassed","value":"sda"},"HTTP400-RequestedPageNumberIsInvalid":{"summary":"RequestedPageNumberIsInvalid","value":"das"},"HTTP404-RequestedCaseIdIsInvalid":{"summary":"RequestedCaseIdIsInvalid","value":1},"HTTP451-SealedCase":{"summary":"SealedCase","value":1}},"in":"query","name":"pageNumber","schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"examples":{"AllAttorneysForACase":{"$ref":"#/components/examples/CaseApiAttorneysResponse"}},"schema":{"$ref":"#/components/schemas/Attorneys"}}},"description":"The request is recieved."},"400":{"content":{"application/json":{"examples":{"InvalidIsVisibleParameterValuePassed":{"$ref":"#/components/examples/FailureInvalidIsVisible"},"PageNumberParameterNotPassed":{"$ref":"#/components/examples/FailurePageNumberIdNotPassed"},"RequestedPageNumberIsInvalid":{"$ref":"#/components/examples/FailureInvalidPageNumber"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Invalid Input Parameter"},"404":{"content":{"application/json":{"examples":{"RequestedCaseIdIsInvalid":{"$ref":"#/components/examples/FailureInvalidCaseId"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Resource Not Found"},"451":{"content":{"application/json":{"examples":{"SealedCase":{"$ref":"#/components/examples/SealedCase"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Sealed Case"},"500":{"content":{"application/json":{"examples":{"ServerError":{"$ref":"#/components/examples/FailureServerError"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Server Error"}},"security":[{"bearerAuth":[]}],"summary":"Gets Attorneys for a requested Case ID.","tags":["Case Docket API"],"x-amazon-apigateway-integration":{"connectionType":"INTERNET","httpMethod":"GET","payloadFormatVersion":"2.0","type":"aws_proxy"}},"parameters":[{"description":"Retrieve the case with the specified caseId value.","examples":{"HTTP200-AllAttorneysForACase":{"summary":"AllAttorneysForACase","value":"CASEgq5943bd47a6d2"},"HTTP400-InvalidIsVisibleParameterValuePassed":{"summary":"InvalidIsVisibleParameterValuePassed","value":"CASEgued96d541f794"},"HTTP400-PageNumberParameterNotPassed":{"summary":"PageNumberParameterNotPassed","value":"CASEgued96d541f794"},"HTTP400-RequestedPageNumberIsInvalid":{"summary":"RequestedPageNumberIsInvalid","value":"CASEgued96d541f794"},"HTTP404-RequestedCaseIdIsInvalid":{"summary":"RequestedCaseIdIsInvalid","value":"CASEzz99a698ea541d"},"HTTP451-SealedCase":{"summary":"SealedCase","value":"CASEakfbd1817d7431"}},"in":"path","name":"caseId","required":true,"schema":{"maxLength":18,"minLength":18,"nullable":false,"type":"string"}}],"x-api-name":"AssociatedAttorneysForCaseAPI","x-unicourt-tag":"CaseDocketAPIs"},"/case/{caseId}/docketEntries":{"get":{"description":"Retrieve the docket entries in the case with the specified caseId value.","operationId":"getCaseDocketEntries","parameters":[{"description":"Retrieve the docket entry witih the specified docket number in the case with the specified caseId value.","examples":{"HTTP200-DocketsAPIResponse":{"summary":"DocketsAPIResponse","value":null},"HTTP400-DocketNumberRequestedNotFound":{"summary":"DocketNumberRequestedNotFound","value":"one"}},"in":"query","name":"docketNumber","schema":{"type":"integer"}},{"description":"Sort the retrieved docket entries in ascending order or descending order of date.","examples":{"HTTP200-DocketsAPIResponse":{"summary":"DocketsAPIResponse","value":"latest to oldest"},"HTTP400-RequestedInvalidSortBy":{"summary":"RequestedInvalidSortBy","value":"all"}},"in":"query","name":"sortBy","schema":{"enum":["latest to oldest","oldest to latest"],"maxLength":20,"minLength":10,"nullable":false,"type":"string"}},{"description":"Query parameter specifying the page number of the search results to be retrieved.","examples":{"HTTP200-DocketsAPIResponse":{"summary":"DocketsAPIResponse","value":1},"HTTP400-DocketNumberRequestedNotFound":{"summary":"DocketNumberRequestedNotFound","value":1},"HTTP400-PageNumberParameterNotPassed":{"summary":"PageNumberParameterNotPassed","value":"sda"},"HTTP400-RequestedInvalidSortBy":{"summary":"RequestedInvalidSortBy","value":1},"HTTP400-RequestedPageNumberIsInvalid":{"summary":"RequestedPageNumberIsInvalid","value":"das"},"HTTP404-RequestedCaseIdIsInvalid":{"summary":"RequestedCaseIdIsInvalid","value":1},"HTTP451-SealedCase":{"summary":"SealedCase","value":1}},"in":"query","name":"pageNumber","schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"examples":{"DocketsAPIResponse":{"$ref":"#/components/examples/CaseApiDocketEntryResponse"}},"schema":{"$ref":"#/components/schemas/DocketEntries"}}},"description":"The request is recieved."},"400":{"content":{"application/json":{"examples":{"DocketNumberRequestedNotFound":{"$ref":"#/components/examples/FailureDocketNumberNotFound"},"PageNumberParameterNotPassed":{"$ref":"#/components/examples/FailurePageNumberIdNotPassed"},"RequestedInvalidSortBy":{"$ref":"#/components/examples/FailureInvalidSortBy"},"RequestedPageNumberIsInvalid":{"$ref":"#/components/examples/FailureInvalidPageNumber"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Invalid Input Parameter"},"404":{"content":{"application/json":{"examples":{"RequestedCaseIdIsInvalid":{"$ref":"#/components/examples/FailureInvalidCaseId"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Resource Not Found"},"451":{"content":{"application/json":{"examples":{"SealedCase":{"$ref":"#/components/examples/SealedCase"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Sealed Case"},"500":{"content":{"application/json":{"examples":{"ServerError":{"$ref":"#/components/examples/FailureServerError"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Server Error"}},"security":[{"bearerAuth":[]}],"summary":"Gets Docket Entries for a requested Case ID.","tags":["Case Docket API"],"x-amazon-apigateway-integration":{"connectionType":"INTERNET","httpMethod":"GET","payloadFormatVersion":"2.0","type":"aws_proxy"}},"parameters":[{"description":"Retrieve the case with the specified caseId value.","examples":{"HTTP200-DocketsAPIResponse":{"summary":"DocketsAPIResponse","value":"CASEgle0bf14b74a96"},"HTTP400-DocketNumberRequestedNotFound":{"summary":"DocketNumberRequestedNotFound","value":"CASEgued96d541f794"},"HTTP400-PageNumberParameterNotPassed":{"summary":"PageNumberParameterNotPassed","value":"CASEgued96d541f794"},"HTTP400-RequestedInvalidSortBy":{"summary":"RequestedInvalidSortBy","value":"CASEgued96d541f794"},"HTTP400-RequestedPageNumberIsInvalid":{"summary":"RequestedPageNumberIsInvalid","value":"CASEgued96d541f794"},"HTTP404-RequestedCaseIdIsInvalid":{"summary":"RequestedCaseIdIsInvalid","value":"CASEzz99a698ea541d"},"HTTP451-SealedCase":{"summary":"SealedCase","value":"CASEakfbd1817d7431"}},"in":"path","name":"caseId","required":true,"schema":{"maxLength":18,"minLength":18,"nullable":false,"type":"string"}}],"x-api-name":"CaseDocketEntriesAPI","x-unicourt-tag":"CaseDocketAPIs"},"/case/{caseId}/docketEntries/primaryDocuments":{"get":{"description":"Retrieve the primary documents in the case with the specified caseId value.","operationId":"getPrimaryDocumentsForDocketEntries","parameters":[{"description":"Retrieve the primary documents associated with the specified docket number in the case with the specified caseId value.","examples":{"HTTP200-AssociatedPrimaryDocumentsAPIResponse":{"summary":"AssociatedPrimaryDocumentsAPIResponse","value":1},"HTTP400-CannotRequestLibraryDateWhenInLibraryParameterIsFalse":{"summary":"CannotRequestLibraryDateWhenInLibraryParameterIsFalse","value":1},"HTTP400-DocketNumberParameterNotPassed":{"summary":"DocketNumberParameterNotPassed","value":null},"HTTP400-InvalidIsVisibleParameterValuePassed":{"summary":"InvalidIsVisibleParameterValuePassed","value":1},"HTTP400-PageNumberParameterNotPassed":{"summary":"PageNumberParameterNotPassed","value":1},"HTTP400-RequestedAfterFirstFetchDateIsInvalid":{"summary":"RequestedAfterFirstFetchDateIsInvalid","value":1},"HTTP400-RequestedInLibraryIsInvalid":{"summary":"RequestedInLibraryIsInvalid","value":1},"HTTP400-RequestedLibraryDateIsInvalid":{"summary":"RequestedLibraryDateIsInvalid","value":1},"HTTP400-RequestedPageNumberIsInvalid":{"summary":"RequestedPageNumberIsInvalid","value":1},"HTTP404-RequestedCaseIdIsInvalid":{"summary":"RequestedCaseIdIsInvalid","value":1},"HTTP451-SealedCase":{"summary":"SealedCase","value":1}},"in":"query","name":"docketNumber","required":true,"schema":{"type":"integer"}},{"allowEmptyValue":true,"description":"Retrieve the primary documents in the with the specified inLibrary flag in the case with the specified caseId value.","examples":{"HTTP200-AssociatedPrimaryDocumentsAPIResponse":{"summary":"AssociatedPrimaryDocumentsAPIResponse","value":null},"HTTP400-CannotRequestLibraryDateWhenInLibraryParameterIsFalse":{"summary":"CannotRequestLibraryDateWhenInLibraryParameterIsFalse","value":false},"HTTP400-RequestedInLibraryIsInvalid":{"summary":"RequestedInLibraryIsInvalid","value":"all"}},"in":"query","name":"inLibrary","required":false,"schema":{"type":"boolean"}},{"description":"Retrieve all primary documents in the case with the specified caseId value that were first fetched by UniCourt on the specified date or within the specified date.","examples":{"HTTP200-AssociatedPrimaryDocumentsAPIResponse":{"summary":"AssociatedPrimaryDocumentsAPIResponse","value":null},"HTTP400-RequestedAfterFirstFetchDateIsInvalid":{"summary":"RequestedAfterFirstFetchDateIsInvalid","value":"2022-05-042"}},"in":"query","name":"afterFirstFetchDate","schema":{"format":"date-time","maxLength":25,"minLength":25,"nullable":true,"type":"string"}},{"description":"Retrieve all primary documents in the case with the specified caseId value that were added to the Crowdsourced Library on the specified date or within the specified date.","examples":{"HTTP200-AssociatedPrimaryDocumentsAPIResponse":{"summary":"AssociatedPrimaryDocumentsAPIResponse","value":null},"HTTP400-CannotRequestLibraryDateWhenInLibraryParameterIsFalse":{"summary":"CannotRequestLibraryDateWhenInLibraryParameterIsFalse","value":"2025-06-15T13:50:11.904Z"},"HTTP400-RequestedLibraryDateIsInvalid":{"summary":"RequestedLibraryDateIsInvalid","value":"2022-05-042"}},"in":"query","name":"libraryDate","schema":{"format":"date-time","maxLength":25,"minLength":25,"nullable":true,"type":"string"}},{"description":"Query parameter specifying the page number of the search results to be retrieved.","examples":{"HTTP200-AssociatedPrimaryDocumentsAPIResponse":{"summary":"AssociatedPrimaryDocumentsAPIResponse","value":1},"HTTP400-CannotRequestLibraryDateWhenInLibraryParameterIsFalse":{"summary":"CannotRequestLibraryDateWhenInLibraryParameterIsFalse","value":"CASEgued96d541f794"},"HTTP400-DocketNumberParameterNotPassed":{"summary":"DocketNumberParameterNotPassed","value":"CASEgued96d541f794"},"HTTP400-InvalidIsVisibleParameterValuePassed":{"summary":"InvalidIsVisibleParameterValuePassed","value":1},"HTTP400-PageNumberParameterNotPassed":{"summary":"PageNumberParameterNotPassed","value":"sda"},"HTTP400-RequestedAfterFirstFetchDateIsInvalid":{"summary":"RequestedAfterFirstFetchDateIsInvalid","value":1},"HTTP400-RequestedInLibraryIsInvalid":{"summary":"RequestedInLibraryIsInvalid","value":1},"HTTP400-RequestedLibraryDateIsInvalid":{"summary":"RequestedLibraryDateIsInvalid","value":1},"HTTP400-RequestedPageNumberIsInvalid":{"summary":"RequestedPageNumberIsInvalid","value":"das"},"HTTP404-RequestedCaseIdIsInvalid":{"summary":"RequestedCaseIdIsInvalid","value":1},"HTTP451-SealedCase":{"summary":"SealedCase","value":1}},"in":"query","name":"pageNumber","schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"examples":{"AssociatedPrimaryDocumentsAPIResponse":{"$ref":"#/components/examples/CaseApiDocketEntryPrimaryDocumentsResponse"}},"schema":{"$ref":"#/components/schemas/DocketEntryPrimaryDocuments"}}},"description":"The request is recieved."},"400":{"content":{"application/json":{"examples":{"CannotRequestLibraryDateWhenInLibraryParameterIsFalse":{"$ref":"#/components/examples/FailureCannotPassLibraryDateWhenInLibraryIsFalse"},"DocketNumberParameterNotPassed":{"$ref":"#/components/examples/FailureDocketNumberIdNotPassed"},"PageNumberParameterNotPassed":{"$ref":"#/components/examples/FailurePageNumberIdNotPassed"},"RequestedAfterFirstFetchDateIsInvalid":{"$ref":"#/components/examples/FailureInvalidAfterFirstFetchDate"},"RequestedInLibraryIsInvalid":{"$ref":"#/components/examples/FailureInvalidInLibrary"},"RequestedLibraryDateIsInvalid":{"$ref":"#/components/examples/FailureInvalidLibraryDate"},"RequestedPageNumberIsInvalid":{"$ref":"#/components/examples/FailureInvalidPageNumber"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Invalid Input Parameter"},"404":{"content":{"application/json":{"examples":{"RequestedCaseIdIsInvalid":{"$ref":"#/components/examples/FailureInvalidCaseId"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Resource Not Found"},"451":{"content":{"application/json":{"examples":{"SealedCase":{"$ref":"#/components/examples/SealedCase"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Sealed Case"},"500":{"content":{"application/json":{"examples":{"ServerError":{"$ref":"#/components/examples/FailureServerError"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Server Error"}},"security":[{"bearerAuth":[]}],"summary":"Gets Primary Documents of Docket Entries.","tags":["Case Docket API"],"x-amazon-apigateway-integration":{"connectionType":"INTERNET","httpMethod":"GET","payloadFormatVersion":"2.0","type":"aws_proxy"}},"parameters":[{"description":"Retrieve the case with the specified caseId value.","examples":{"HTTP200-AssociatedPrimaryDocumentsAPIResponse":{"summary":"AssociatedPrimaryDocumentsAPIResponse","value":"CASEgq5da86597e9a4"},"HTTP400-CannotRequestLibraryDateWhenInLibraryParameterIsFalse":{"summary":"CannotRequestLibraryDateWhenInLibraryParameterIsFalse","value":"CASEgued96d541f794"},"HTTP400-DocketNumberParameterNotPassed":{"summary":"DocketNumberParameterNotPassed","value":"CASEgued96d541f794"},"HTTP400-InvalidIsVisibleParameterValuePassed":{"summary":"InvalidIsVisibleParameterValuePassed","value":"CASEgued96d541f794"},"HTTP400-PageNumberParameterNotPassed":{"summary":"PageNumberParameterNotPassed","value":"CASEgued96d541f794"},"HTTP400-RequestedAfterFirstFetchDateIsInvalid":{"summary":"RequestedAfterFirstFetchDateIsInvalid","value":"CASEgued96d541f794"},"HTTP400-RequestedInLibraryIsInvalid":{"summary":"RequestedInLibraryIsInvalid","value":"CASEgued96d541f794"},"HTTP400-RequestedLibraryDateIsInvalid":{"summary":"RequestedLibraryDateIsInvalid","value":"CASEgued96d541f794"},"HTTP400-RequestedPageNumberIsInvalid":{"summary":"RequestedPageNumberIsInvalid","value":"CASEgued96d541f794"},"HTTP404-RequestedCaseIdIsInvalid":{"summary":"RequestedCaseIdIsInvalid","value":"CASEzz99a698ea541d"},"HTTP451-SealedCase":{"summary":"SealedCase","value":"CASEakfbd1817d7431"}},"in":"path","name":"caseId","required":true,"schema":{"example":"CASEgued96d541f794","maxLength":18,"minLength":18,"nullable":false,"type":"string"}}],"x-api-name":"PrimaryDocumentsForCaseDocketEntriesAPI","x-unicourt-tag":"CaseDocketAPIs"},"/case/{caseId}/docketEntries/secondaryDocuments":{"get":{"description":"Retrieve the secondary documents in the case with the specified caseId value.","operationId":"getSecondaryDocumentsForDocketEntries","parameters":[{"description":"Retrieve the secondary documents associated with the specified docket number in the case with the specified caseId value.","examples":{"HTTP200-AssociatedSecondaryDocumentsAPIResponse":{"summary":"AssociatedSecondaryDocumentsAPIResponse","value":1},"HTTP400-CannotRequestLibraryDateWhenInLibraryParameterIsFalse":{"summary":"CannotRequestLibraryDateWhenInLibraryParameterIsFalse","value":1},"HTTP400-DocketNumberParameterNotPassed":{"summary":"DocketNumberParameterNotPassed","value":null},"HTTP400-InvalidIsVisibleParameterValuePassed":{"summary":"InvalidIsVisibleParameterValuePassed","value":1},"HTTP400-PageNumberParameterNotPassed":{"summary":"PageNumberParameterNotPassed","value":1},"HTTP400-RequestedAfterFirstFetchDateIsInvalid":{"summary":"RequestedAfterFirstFetchDateIsInvalid","value":1},"HTTP400-RequestedInLibraryIsInvalid":{"summary":"RequestedInLibraryIsInvalid","value":1},"HTTP400-RequestedLibraryDateIsInvalid":{"summary":"RequestedLibraryDateIsInvalid","value":1},"HTTP400-RequestedPageNumberIsInvalid":{"summary":"RequestedPageNumberIsInvalid","value":1},"HTTP404-RequestedCaseIdIsInvalid":{"summary":"RequestedCaseIdIsInvalid","value":1},"HTTP451-SealedCase":{"summary":"SealedCase","value":1}},"in":"query","name":"docketNumber","required":true,"schema":{"type":"integer"}},{"allowEmptyValue":true,"description":"Retrieve the secondary documents in the with the specified inLibrary flag in the case with the specified caseId value.","examples":{"HTTP200-AssociatedSecondaryDocumentsAPIResponse":{"summary":"AssociatedSecondaryDocumentsAPIResponse","value":null},"HTTP400-CannotRequestLibraryDateWhenInLibraryParameterIsFalse":{"summary":"CannotRequestLibraryDateWhenInLibraryParameterIsFalse","value":false},"HTTP400-RequestedInLibraryIsInvalid":{"summary":"RequestedInLibraryIsInvalid","value":"all"}},"in":"query","name":"inLibrary","schema":{"type":"boolean"}},{"description":"Retrieve all secondary documents in the case with the specified caseId value that were first fetched by UniCourt on the specified date or within the specified date.","examples":{"HTTP200-AssociatedSecondaryDocumentsAPIResponse":{"summary":"AssociatedSecondaryDocumentsAPIResponse","value":null},"HTTP400-RequestedAfterFirstFetchDateIsInvalid":{"summary":"RequestedAfterFirstFetchDateIsInvalid","value":"2022-05-042"}},"in":"query","name":"afterFirstFetchDate","schema":{"format":"date-time","maxLength":25,"minLength":25,"nullable":true,"type":"string"}},{"description":"Retrieve all secondary documents in the case with the specified caseId value that were added to the Crowdsourced Library on the specified date or within the specified date.","examples":{"HTTP200-AssociatedSecondaryDocumentsAPIResponse":{"summary":"AssociatedSecondaryDocumentsAPIResponse","value":null},"HTTP400-CannotRequestLibraryDateWhenInLibraryParameterIsFalse":{"summary":"CannotRequestLibraryDateWhenInLibraryParameterIsFalse","value":"2025-06-15T13:50:11.904Z"},"HTTP400-RequestedLibraryDateIsInvalid":{"summary":"RequestedLibraryDateIsInvalid","value":"2022-05-042"}},"in":"query","name":"libraryDate","schema":{"format":"date-time","maxLength":25,"minLength":25,"nullable":true,"type":"string"}},{"description":"Query parameter specifying the page number of the search results to be retrieved.","examples":{"HTTP200-AssociatedSecondaryDocumentsAPIResponse":{"summary":"AssociatedSecondaryDocumentsAPIResponse","value":1},"HTTP400-CannotRequestLibraryDateWhenInLibraryParameterIsFalse":{"summary":"CannotRequestLibraryDateWhenInLibraryParameterIsFalse","value":"CASEgued96d541f794"},"HTTP400-DocketNumberParameterNotPassed":{"summary":"DocketNumberParameterNotPassed","value":"CASEgued96d541f794"},"HTTP400-InvalidIsVisibleParameterValuePassed":{"summary":"InvalidIsVisibleParameterValuePassed","value":1},"HTTP400-PageNumberParameterNotPassed":{"summary":"PageNumberParameterNotPassed","value":"sda"},"HTTP400-RequestedAfterFirstFetchDateIsInvalid":{"summary":"RequestedAfterFirstFetchDateIsInvalid","value":1},"HTTP400-RequestedInLibraryIsInvalid":{"summary":"RequestedInLibraryIsInvalid","value":1},"HTTP400-RequestedLibraryDateIsInvalid":{"summary":"RequestedLibraryDateIsInvalid","value":1},"HTTP400-RequestedPageNumberIsInvalid":{"summary":"RequestedPageNumberIsInvalid","value":"das"},"HTTP404-RequestedCaseIdIsInvalid":{"summary":"RequestedCaseIdIsInvalid","value":1},"HTTP451-SealedCase":{"summary":"SealedCase","value":1}},"in":"query","name":"pageNumber","schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"examples":{"AssociatedSecondaryDocumentsAPIResponse":{"$ref":"#/components/examples/CaseApiDocketEntrySeconaryDocumentsResponse"}},"schema":{"$ref":"#/components/schemas/DocketEntrySecondaryDocuments"}}},"description":"The request is recieved."},"400":{"content":{"application/json":{"examples":{"CannotRequestLibraryDateWhenInLibraryParameterIsFalse":{"$ref":"#/components/examples/FailureCannotPassLibraryDateWhenInLibraryIsFalse"},"DocketNumberParameterNotPassed":{"$ref":"#/components/examples/FailureDocketNumberIdNotPassed"},"PageNumberParameterNotPassed":{"$ref":"#/components/examples/FailurePageNumberIdNotPassed"},"RequestedAfterFirstFetchDateIsInvalid":{"$ref":"#/components/examples/FailureInvalidAfterFirstFetchDate"},"RequestedInLibraryIsInvalid":{"$ref":"#/components/examples/FailureInvalidInLibrary"},"RequestedLibraryDateIsInvalid":{"$ref":"#/components/examples/FailureInvalidLibraryDate"},"RequestedPageNumberIsInvalid":{"$ref":"#/components/examples/FailureInvalidPageNumber"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Invalid Input Parameter"},"404":{"content":{"application/json":{"examples":{"RequestedCaseIdIsInvalid":{"$ref":"#/components/examples/FailureInvalidCaseId"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Resource Not Found"},"451":{"content":{"application/json":{"examples":{"SealedCase":{"$ref":"#/components/examples/SealedCase"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Sealed Case"},"500":{"content":{"application/json":{"examples":{"ServerError":{"$ref":"#/components/examples/FailureServerError"}},"schema":{"$ref":"#/components/schemas/Exception"}}},"description":"Server Error"}},"security":[{"bearerAuth":[]}],"summary":"Gets Secondary Documents of Docket Entries.","tags":["Case Docket API"],"x-amazon-apigateway-integration":{"connectionType":"INTERNET","httpMethod":"GET","payloadFormatVersion":"2.0","type":"aws_proxy"}},"parameters":[{"description":"Retrieve the case with the specified caseId value.","examples":{"HTTP200-AssociatedSecondaryDocumentsAPIResponse":{"summary":"AssociatedSecondaryDocumentsAPIResponse","value":"CASEgq5da86597e9a4"},"HTTP400-CannotRequestLibraryDateWhenInLibraryParameterIsFalse":{"summary":"CannotRequestLibraryDateWhenInLibraryParameterIsFalse","value":"CASEgued96d541f794"},"HTTP400-DocketNumberParameterNotPassed":{"summary":"DocketNumberParameterNotPassed","value":"CASEgued96d541f794"},"HTTP400-InvalidIsVisibleParameterValuePassed":{"summary":"InvalidIsVisibleParameterValuePassed","value":"CASEgued96d541f794"},"HTTP400-PageNumberParameterNotPassed":{"summary":"PageNumberParameterNotPassed","value":"CASEgued96d541f794"},"HTTP400-RequestedAfterFirstFetchDateIsInvalid":{"summary":"RequestedAfterFirstFetchDateIsInvalid","value":"CASEgued96d541f794"},"HTTP400-RequestedInLibraryIsInvalid":{"summary":"RequestedInLibraryIsInvalid","value":"CASEgued96d541f794"},"HTTP400-RequestedLibraryDateIsInvalid":{"summary":"RequestedLibraryDateIsInvalid","value":"CASEgued96d541f794"},"HTTP400-RequestedPageNumberIsInvalid":{"summary":"RequestedPageNumberIsInvalid","value":"CASEgued96d541f794"},"HTTP404-RequestedCaseIdIsInvalid":{"summary":"RequestedCaseIdIsInvalid","value":"CASEzz99a698ea541d"},"HTTP451-SealedCase":{"summary":"SealedCase","value":"CASEakfbd1817d7431"}},"in":"path","name":"caseId","required":true,"schema":{"maxLength":18,"minLength":18,"nullable":false,"type":"string"}}],"x-api-name":"SecondaryDocumentsForCaseDocketEntriesAPI","x-unicourt-tag":"CaseDocketAPIs"},"/case/{caseId}/documents":{"get":{"description":"Gets Documents for a requested Case ID.","operationId":"getCaseDocuments","parameters":[{"allowEmptyValue":true,"description":"Filter all the documents those are added to the UniCourt library.","examples":{"HTTP200-CaseDocumentsForACase":{"summary":"CaseDocumentsForACase","value":null},"HTTP400-CannotRequestLibraryDateWhenInLibraryParameterIsFalse":{"summary":"CannotRequestLibraryDateWhenInLibraryParameterIsFalse","value":false},"HTTP400-RequestedInLibraryIsInvalid":{"summary":"RequestedInLibraryIsInvalid","value":"all"}},"in":"query","name":"inLibrary","schema":{"type":"boolean"}},{"description":"Get all the documents which were added to the case on or after a specific date.","examples":{"HTTP200-CaseDocumentsForACase":{"summary":"CaseDocumentsForACase","value":null},"HTTP400-RequestedAfterFirstFetchDateIsInvalid":{"summary":"RequestedAfterFirstFetchDateIsInvalid","value":"2022-02-255"}},"in":"query","name":"afterFirstFetchDate","schema":{"format":"date-time","maxLength":25,"minLength":25,"nullable":true,"type":"string"}},{"description":"Sort all the documents based on the date when the document was added to the UniCourt Library.","examples":{"HTTP200-CaseDocumentsForACase":{"summary":"CaseDocumentsForACase","value":null},"HTTP400-CannotRequestLibraryDateWhenInLibraryParameterIsFalse":{"summary":"CannotRequestLibraryDateWhenInLibraryParameterIsFalse","value":"2025-06-15T13:50:11.904Z"},"HTTP400-RequestedLibraryDateIsInvalid":{"summary":"RequestedLibraryDateIsInvalid","value":"2022-02-255"}},"in":"query","name":"libraryDate","schema":{"format":"date-time","maxLength":25,"minLength":25,"nullable":true,"type":"string"}},{"description":"Sort all the documents based on the date it was fetched from the source site.","examples":{"HTTP200-CaseDocumentsForACase":{"summary":"CaseDocumentsForACase","value":null},"HTTP400-RequestedInvalidFirstFetchDate":{"summary":"RequestedInvalidFirstFetchDate","value":"2022-02-255"}},"in":"query","name":"firstFetchDate","schema":{"format":"date-time","maxLength":25,"minLength":25,"nullable":true,"type":"string"}},{"description":"Sort documents with document order.","examples":{"HTTP200-CaseDocumentsForACase":{"summary":"CaseDocumentsForACase","value":"latest to oldest"},"HTTP400-RequestedInvalidSortBy":{"summary":"RequestedInvalidSortBy","value":"all"}},"in":"query","name":"sortBy","schema":{"enum":["latest to oldest","oldest to latest"],"maxLength":20,"minLength":10,"type":"string"}},{"description":"The page for which the result should be retrieved.","examples":{"HTTP200-CaseDocumentsForACase":{"summary":"CaseDocumentsForACase","value":1},"HTTP400-CannotRequestLibraryDateWhenInLibraryParameterIsFalse":{"summary":"CannotRequestLibraryDateWhenInLibraryParameterIsFalse","value":1},"HTTP400-PageNumberParameterNotPassed":{"summary":"PageNumberParameterNotPassed","value":"sda"},"HTTP400-RequestedAfterFirstFetchDateIsInvalid":{"summary":"RequestedAfterFirstFetchDateIsInvalid","value":1},"HTTP400-RequestedInLibraryIsInvalid":{"summary":"RequestedInLibraryIsInvalid","value":1},"HTTP400-RequestedInvalidFirstFetchDate":{"summary":"RequestedInvalidFirstFetchDate","value":1},"HTTP400-RequestedInvalidSortBy":{"summary":"RequestedInvalidSortBy","value":1},"HTTP400-RequestedLibraryDateIsInvalid":{"summary":"RequestedLibraryDateIsInvalid","value":1},"HTTP400-RequestedPageNumberIsInvalid":{"summary":"RequestedPageNumberIsInvalid","value":"das"},"HTTP404-RequestedCaseIdIsInvalid":{"summary":"RequestedCaseIdIsInvalid","value":1},"HTTP451-SealedCase":{"summary":"SealedCase","value":1}},"in":"query","name":"pageNumber","schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"examples":{"CaseDocumentsForACase":{"$ref":"#/components/examples/CaseApiCaseDocumentsResponse"}},"schema":{"$ref":"#/components/schemas/CaseDocuments"}}},"description":"The request is recieved."},"400":{"content":{"application/json":{"examples":{"CannotRequestLibraryDateWhenInLibraryParameterIsFalse":{"$ref":"#/components/examples/FailureCannotPassLibraryDateWhenInLibraryIsFalse"},"PageNumberParameterNotPassed":{"$ref":"#/components/examples/FailurePageNumberIdNotPassed"},"RequestedAfterFirstFetchDateIsInvalid":{"$ref":"#/components/examples/FailureInvalidAfterFirstFetchDate"},"RequestedInLibraryIsInvalid":{"$ref":"#/components/examples/FailureInvalidInLibrary"},"RequestedInvalidFirstFetchDate":{"$ref":"#/components/examples/FailureInvalidFirstFetchDate"},"RequestedInvalidSortBy":{"$ref":"#/compon