Skip to main content

Documentation Index

Fetch the complete documentation index at: https://api.lensmor.com/llms.txt

Use this file to discover all available pages before exploring further.

Events fit score

Score a single event against the authenticated caller’s current profile context.

Endpoint

POST /external/events/fit-score

Authentication

See Authentication

Success status code

201 Created

Request body

FieldRequiredTypeNotes
event_idYesstringEvent identifier returned by Lensmor event endpoints.

Response body

Top-level fields

FieldTypeNotes
eventobjectEvent summary for the scored event.
scorenumberNormalized to a 0.0-10.0 style scale.
recommendationstringOne of recommended, consider, or not_recommended.
breakdownobjectContains profile_match, matched_exhibitor_density, and event_scale.

event fields

FieldTypeNotes
idstringLensmor event identifier.
eventIdstringSource event identifier, when available.
namestringEvent name.
nicknamestring or nullEvent short name.
descriptionstring or nullEvent description.
urlstring or nullEvent website URL.
dateStartYYYY-MM-DD string or nullStart date.
dateEndYYYY-MM-DD string or nullEnd date.
venuestring or nullVenue name.
citystring or nullCity.
regionstring or nullRegion or state.
countrystring or nullCountry.
attendeeCountinteger or nullAttendance count, when available.
exhibitorCountinteger or nullExhibitor count, when available.
personnelCountinteger or nullPersonnel count, when available.
imagestring or nullImage URL.

breakdown fields

FieldTypeNotes
profile_matchnumberProfile similarity component.
matched_exhibitor_densitynumberMatched exhibitor density component.
event_scalenumberEvent scale component.

Response example

{
  "event": {
    "id": "123",
    "eventId": "139574",
    "name": "Shoptalk",
    "nickname": null,
    "description": null,
    "url": "https://example.com",
    "dateStart": "2026-03-25",
    "dateEnd": "2026-03-28",
    "venue": "Convention Center",
    "city": "Las Vegas",
    "region": "Nevada",
    "country": "United States",
    "exhibitorCount": 250,
    "image": null
  },
  "score": 7.8,
  "recommendation": "recommended",
  "breakdown": {
    "profile_match": 7.8,
    "matched_exhibitor_density": 2.4,
    "event_scale": 2.5
  }
}

Error responses

  • 400 Bad Request when event_id is missing or invalid.
  • 401 Unauthorized when the API key is missing, malformed, or invalid.
  • 404 Not Found when the target event cannot be resolved.
  • 409 Conflict when the recommendation dependency is still processing.

Notes

  • Use the event id returned by Lensmor event endpoints when requesting a fit score.